-
Notifications
You must be signed in to change notification settings - Fork 234
Closed
Labels
Description
Opening this as the bot closed #416 despite appeals
Hello again!
I've been working on writing a tool that writes to our Wiki. However it looks like the "Pages - Create Or Update" portion of the API hasn't been implemented.
If you take a look at WikiApi
you'll see the following page
operations implemented:
azure-devops-node-api/api/WikiApi.ts
Lines 33 to 38 in dcf730b
getPageText(project: string, wikiIdentifier: string, path?: string, recursionLevel?: GitInterfaces.VersionControlRecursionType, versionDescriptor?: GitInterfaces.GitVersionDescriptor, includeContent?: boolean): Promise<NodeJS.ReadableStream>; | |
getPageZip(project: string, wikiIdentifier: string, path?: string, recursionLevel?: GitInterfaces.VersionControlRecursionType, versionDescriptor?: GitInterfaces.GitVersionDescriptor, includeContent?: boolean): Promise<NodeJS.ReadableStream>; | |
getPageByIdText(project: string, wikiIdentifier: string, id: number, recursionLevel?: GitInterfaces.VersionControlRecursionType, includeContent?: boolean): Promise<NodeJS.ReadableStream>; | |
getPageByIdZip(project: string, wikiIdentifier: string, id: number, recursionLevel?: GitInterfaces.VersionControlRecursionType, includeContent?: boolean): Promise<NodeJS.ReadableStream>; | |
getPagesBatch(pagesBatchRequest: WikiInterfaces.WikiPagesBatchRequest, project: string, wikiIdentifier: string, versionDescriptor?: GitInterfaces.GitVersionDescriptor): Promise<WikiInterfaces.WikiPageDetail[]>; | |
getPageData(project: string, wikiIdentifier: string, pageId: number, pageViewsForDays?: number): Promise<WikiInterfaces.WikiPageDetail>; |
However, we're missing a createOrUpdatePage
method. According to the REST API docs here this endpoint exists. Is there any chance that it could added please? As is, it does not appear to be possible to add new pages using the client.