UNPKG

stash-connector

Version:

Module to handle and work with Atlassian Stash projects and repositories throug REST API. Admin your repositories and projects in Stash easy. This project is not an Atlassian official project but use the Atlassian Stash REST API

14 lines (13 loc) 785 B
import { Basic, EndpointService, Page, Repository, ReposOptions } from "../types"; /** * Class to manage and expose all endpoits and operations below '/rest/api/1.0/repos/*' */ export declare class ReposEndpoint extends EndpointService { constructor(auth: Basic); /** * Retrieve a page of repositories based on query parameters that control the search. See the documentation of the parameters for more details * @param {ReposOptions} [reposOptions] Options to list repositories including the paginations options. - pageOptions: Page options to paginate results (or obtain more results per page) * @returns {Promise<Page<Repository>>} Promise with the requested page data */ list(reposOptions?: ReposOptions): Promise<Page<Repository>>; }