@tiberriver256/mcp-server-azure-devops
Version:
Azure DevOps reference server for the Model Context Protocol (MCP)
34 lines (33 loc) • 996 B
TypeScript
/**
* Options for getting a wiki page
*/
export interface GetWikiPageOptions {
/**
* The ID or name of the organization
* If not provided, the default organization will be used
*/
organizationId: string;
/**
* The ID or name of the project
* If not provided, the default project will be used
*/
projectId: string;
/**
* The ID or name of the wiki
*/
wikiId: string;
/**
* The path of the page within the wiki
*/
pagePath: string;
}
/**
* Get a wiki page from a wiki
*
* @param options Options for getting a wiki page
* @returns Wiki page content as text/plain
* @throws {AzureDevOpsResourceNotFoundError} When the wiki page is not found
* @throws {AzureDevOpsPermissionError} When the user does not have permission to access the wiki page
* @throws {AzureDevOpsError} When an error occurs while fetching the wiki page
*/
export declare function getWikiPage(options: GetWikiPageOptions): Promise<string>;