-
Notifications
You must be signed in to change notification settings - Fork 10
/
WikiRestClient.yml
735 lines (735 loc) · 26.7 KB
/
WikiRestClient.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
### YamlMime:TSType
name: WikiRestClient
uid: azure-devops-extension-api.WikiRestClient
package: azure-devops-extension-api
summary: >-
Base class that should be used (derived from) to make requests to VSS REST
apis
fullName: WikiRestClient
remarks: ''
isDeprecated: false
type: class
constructors:
- name: WikiRestClient(IVssRestClientOptions)
uid: azure-devops-extension-api.WikiRestClient.constructor
package: azure-devops-extension-api
summary: ''
remarks: ''
isDeprecated: false
syntax:
content: 'new WikiRestClient(options: IVssRestClientOptions)'
parameters:
- id: options
type: <xref uid="azure-devops-extension-api.IVssRestClientOptions" />
description: ''
properties:
- name: RESOURCE_AREA_ID
uid: azure-devops-extension-api.WikiRestClient.RESOURCE_AREA_ID
package: azure-devops-extension-api
summary: ''
fullName: RESOURCE_AREA_ID
remarks: ''
isDeprecated: false
syntax:
content: 'static RESOURCE_AREA_ID: string'
return:
description: ''
type: string
methods:
- name: addComment(CommentCreateParameters, string, string, number)
uid: azure-devops-extension-api.WikiRestClient.addComment
package: azure-devops-extension-api
summary: Add a comment on a wiki page.
remarks: ''
isDeprecated: false
syntax:
content: >-
function addComment(request: CommentCreateParameters, project: string,
wikiIdentifier: string, pageId: number): Promise<Comment>
parameters:
- id: request
type: <xref uid="azure-devops-extension-api.CommentCreateParameters" />
description: Comment create request.
- id: project
type: string
description: Project ID or project name
- id: wikiIdentifier
type: string
description: Wiki ID or wiki name.
- id: pageId
type: number
description: Wiki page ID.
return:
description: ''
type: Promise<<xref uid="azure-devops-extension-api.Comment" />>
- name: addCommentReaction(string, string, number, number, CommentReactionType)
uid: azure-devops-extension-api.WikiRestClient.addCommentReaction
package: azure-devops-extension-api
summary: Add a reaction on a wiki page comment.
remarks: ''
isDeprecated: false
syntax:
content: >-
function addCommentReaction(project: string, wikiIdentifier: string,
pageId: number, commentId: number, type: CommentReactionType):
Promise<CommentReaction>
parameters:
- id: project
type: string
description: Project ID or project name
- id: wikiIdentifier
type: string
description: Wiki ID or wiki name
- id: pageId
type: number
description: Wiki page ID
- id: commentId
type: number
description: ID of the associated comment
- id: type
type: <xref uid="azure-devops-extension-api.CommentReactionType" />
description: Type of the reaction being added
return:
description: ''
type: >-
Promise<<xref uid="azure-devops-extension-api.CommentReaction"
/>>
- name: createCommentAttachment(any, string, string, number)
uid: azure-devops-extension-api.WikiRestClient.createCommentAttachment
package: azure-devops-extension-api
summary: Uploads an attachment on a comment on a wiki page.
remarks: ''
isDeprecated: false
syntax:
content: >-
function createCommentAttachment(content: any, project: string,
wikiIdentifier: string, pageId: number): Promise<CommentAttachment>
parameters:
- id: content
type: any
description: Content to upload
- id: project
type: string
description: Project ID or project name
- id: wikiIdentifier
type: string
description: Wiki ID or wiki name.
- id: pageId
type: number
description: Wiki page ID.
return:
description: ''
type: >-
Promise<<xref uid="azure-devops-extension-api.CommentAttachment"
/>>
- name: >-
createOrUpdatePageViewStats(string, string, GitVersionDescriptor, string,
string)
uid: azure-devops-extension-api.WikiRestClient.createOrUpdatePageViewStats
package: azure-devops-extension-api
summary: >-
Creates a new page view stats resource or updates an existing page view
stats resource.
remarks: ''
isDeprecated: false
syntax:
content: >-
function createOrUpdatePageViewStats(project: string, wikiIdentifier:
string, wikiVersion: GitVersionDescriptor, path: string, oldPath?:
string): Promise<WikiPageViewStats>
parameters:
- id: project
type: string
description: Project ID or project name
- id: wikiIdentifier
type: string
description: Wiki ID or wiki name.
- id: wikiVersion
type: <xref uid="azure-devops-extension-api.GitVersionDescriptor" />
description: Wiki version.
- id: path
type: string
description: Wiki page path.
- id: oldPath
type: string
description: >-
Old page path. This is optional and required to rename path in
existing page view stats.
return:
description: ''
type: >-
Promise<<xref uid="azure-devops-extension-api.WikiPageViewStats"
/>>
- name: createWiki(WikiCreateParametersV2, string)
uid: azure-devops-extension-api.WikiRestClient.createWiki
package: azure-devops-extension-api
summary: Creates the wiki resource.
remarks: ''
isDeprecated: false
syntax:
content: >-
function createWiki(wikiCreateParams: WikiCreateParametersV2, project?:
string): Promise<WikiV2>
parameters:
- id: wikiCreateParams
type: <xref uid="azure-devops-extension-api.WikiCreateParametersV2" />
description: Parameters for the wiki creation.
- id: project
type: string
description: Project ID or project name
return:
description: ''
type: Promise<<xref uid="azure-devops-extension-api.WikiV2" />>
- name: deleteComment(string, string, number, number)
uid: azure-devops-extension-api.WikiRestClient.deleteComment
package: azure-devops-extension-api
summary: Delete a comment on a wiki page.
remarks: ''
isDeprecated: false
syntax:
content: >-
function deleteComment(project: string, wikiIdentifier: string, pageId:
number, id: number): Promise<void>
parameters:
- id: project
type: string
description: Project ID or project name
- id: wikiIdentifier
type: string
description: Wiki ID or name.
- id: pageId
type: number
description: Wiki page ID.
- id: id
type: number
description: Comment ID.
return:
description: ''
type: Promise<void>
- name: deleteCommentReaction(string, string, number, number, CommentReactionType)
uid: azure-devops-extension-api.WikiRestClient.deleteCommentReaction
package: azure-devops-extension-api
summary: Delete a reaction on a wiki page comment.
remarks: ''
isDeprecated: false
syntax:
content: >-
function deleteCommentReaction(project: string, wikiIdentifier: string,
pageId: number, commentId: number, type: CommentReactionType):
Promise<CommentReaction>
parameters:
- id: project
type: string
description: Project ID or project name
- id: wikiIdentifier
type: string
description: Wiki ID or name
- id: pageId
type: number
description: Wiki page ID
- id: commentId
type: number
description: ID of the associated comment
- id: type
type: <xref uid="azure-devops-extension-api.CommentReactionType" />
description: Type of the reaction being deleted
return:
description: ''
type: >-
Promise<<xref uid="azure-devops-extension-api.CommentReaction"
/>>
- name: deleteWiki(string, string)
uid: azure-devops-extension-api.WikiRestClient.deleteWiki
package: azure-devops-extension-api
summary: Deletes the wiki corresponding to the wiki ID or wiki name provided.
remarks: ''
isDeprecated: false
syntax:
content: >-
function deleteWiki(wikiIdentifier: string, project?: string):
Promise<WikiV2>
parameters:
- id: wikiIdentifier
type: string
description: Wiki ID or wiki name.
- id: project
type: string
description: Project ID or project name
return:
description: ''
type: Promise<<xref uid="azure-devops-extension-api.WikiV2" />>
- name: getAllWikis(string)
uid: azure-devops-extension-api.WikiRestClient.getAllWikis
package: azure-devops-extension-api
summary: Gets all wikis in a project or collection.
remarks: ''
isDeprecated: false
syntax:
content: 'function getAllWikis(project?: string): Promise<WikiV2[]>'
parameters:
- id: project
type: string
description: Project ID or project name
return:
description: ''
type: Promise<<xref uid="azure-devops-extension-api.WikiV2" />[]>
- name: getAttachmentContent(string, string, number, string)
uid: azure-devops-extension-api.WikiRestClient.getAttachmentContent
package: azure-devops-extension-api
summary: Downloads an attachment on a comment on a wiki page.
remarks: ''
isDeprecated: false
syntax:
content: >-
function getAttachmentContent(project: string, wikiIdentifier: string,
pageId: number, attachmentId: string): Promise<ArrayBuffer>
parameters:
- id: project
type: string
description: Project ID or project name
- id: wikiIdentifier
type: string
description: Wiki ID or wiki name.
- id: pageId
type: number
description: Wiki page ID.
- id: attachmentId
type: string
description: Attachment ID.
return:
description: ''
type: Promise<ArrayBuffer>
- name: getComment(string, string, number, number, boolean, CommentExpandOptions)
uid: azure-devops-extension-api.WikiRestClient.getComment
package: azure-devops-extension-api
summary: Returns a comment associated with the Wiki Page.
remarks: ''
isDeprecated: false
syntax:
content: >-
function getComment(project: string, wikiIdentifier: string, pageId:
number, id: number, excludeDeleted?: boolean, expand?:
CommentExpandOptions): Promise<Comment>
parameters:
- id: project
type: string
description: Project ID or project name
- id: wikiIdentifier
type: string
description: Wiki ID or wiki name.
- id: pageId
type: number
description: Wiki page ID.
- id: id
type: number
description: ID of the comment to return.
- id: excludeDeleted
type: boolean
description: Specify if the deleted comment should be skipped.
- id: expand
type: <xref uid="azure-devops-extension-api.CommentExpandOptions" />
description: Specifies the additional data retrieval options for comments.
return:
description: ''
type: Promise<<xref uid="azure-devops-extension-api.Comment" />>
- name: >-
getEngagedUsers(string, string, number, number, CommentReactionType,
number, number)
uid: azure-devops-extension-api.WikiRestClient.getEngagedUsers
package: azure-devops-extension-api
summary: >-
Gets a list of users who have reacted for the given wiki comment with a
given reaction type. Supports paging, with a default page size of 100
users at a time.
remarks: ''
isDeprecated: false
syntax:
content: >-
function getEngagedUsers(project: string, wikiIdentifier: string,
pageId: number, commentId: number, type: CommentReactionType, top?:
number, skip?: number): Promise<IdentityRef[]>
parameters:
- id: project
type: string
description: Project ID or project name
- id: wikiIdentifier
type: string
description: Wiki ID or wiki name.
- id: pageId
type: number
description: Wiki page ID.
- id: commentId
type: number
description: ID of the associated comment
- id: type
type: <xref uid="azure-devops-extension-api.CommentReactionType" />
description: Type of the reaction for which the engaged users are being requested
- id: top
type: number
description: >-
Number of enagaged users to be returned in a given page. Optional,
defaults to 100
- id: skip
type: number
description: >-
Number of engaged users to be skipped to page the next set of
engaged users, defaults to 0
return:
description: ''
type: Promise<<xref uid="azure-devops-extension-api.IdentityRef" />[]>
- name: >-
getPageByIdText(string, string, number, VersionControlRecursionType,
boolean)
uid: azure-devops-extension-api.WikiRestClient.getPageByIdText
package: azure-devops-extension-api
summary: >-
Gets metadata or content of the wiki page for the provided page id.
Content negotiation is done based on the `Accept` header sent in the
request.
remarks: ''
isDeprecated: false
syntax:
content: >-
function getPageByIdText(project: string, wikiIdentifier: string, id:
number, recursionLevel?: VersionControlRecursionType, includeContent?:
boolean): Promise<string>
parameters:
- id: project
type: string
description: Project ID or project name
- id: wikiIdentifier
type: string
description: Wiki ID or wiki name..
- id: id
type: number
description: Wiki page ID.
- id: recursionLevel
type: >-
<xref uid="azure-devops-extension-api.VersionControlRecursionType"
/>
description: >-
Recursion level for subpages retrieval. Defaults to `None`
(Optional).
- id: includeContent
type: boolean
description: >-
True to include the content of the page in the response for Json
content type. Defaults to false (Optional)
return:
description: ''
type: Promise<string>
- name: >-
getPageByIdZip(string, string, number, VersionControlRecursionType,
boolean)
uid: azure-devops-extension-api.WikiRestClient.getPageByIdZip
package: azure-devops-extension-api
summary: >-
Gets metadata or content of the wiki page for the provided page id.
Content negotiation is done based on the `Accept` header sent in the
request.
remarks: ''
isDeprecated: false
syntax:
content: >-
function getPageByIdZip(project: string, wikiIdentifier: string, id:
number, recursionLevel?: VersionControlRecursionType, includeContent?:
boolean): Promise<ArrayBuffer>
parameters:
- id: project
type: string
description: Project ID or project name
- id: wikiIdentifier
type: string
description: Wiki ID or wiki name..
- id: id
type: number
description: Wiki page ID.
- id: recursionLevel
type: >-
<xref uid="azure-devops-extension-api.VersionControlRecursionType"
/>
description: >-
Recursion level for subpages retrieval. Defaults to `None`
(Optional).
- id: includeContent
type: boolean
description: >-
True to include the content of the page in the response for Json
content type. Defaults to false (Optional)
return:
description: ''
type: Promise<ArrayBuffer>
- name: getPageData(string, string, number, number)
uid: azure-devops-extension-api.WikiRestClient.getPageData
package: azure-devops-extension-api
summary: Returns page detail corresponding to Page ID.
remarks: ''
isDeprecated: false
syntax:
content: >-
function getPageData(project: string, wikiIdentifier: string, pageId:
number, pageViewsForDays?: number): Promise<WikiPageDetail>
parameters:
- id: project
type: string
description: Project ID or project name
- id: wikiIdentifier
type: string
description: Wiki ID or wiki name.
- id: pageId
type: number
description: Wiki page ID.
- id: pageViewsForDays
type: number
description: >-
last N days from the current day for which page views is to be
returned. It's inclusive of current day.
return:
description: ''
type: >-
Promise<<xref uid="azure-devops-extension-api.WikiPageDetail"
/>>
- name: getPagesBatch(WikiPagesBatchRequest, string, string, GitVersionDescriptor)
uid: azure-devops-extension-api.WikiRestClient.getPagesBatch
package: azure-devops-extension-api
summary: Returns pageable list of Wiki Pages
remarks: ''
isDeprecated: false
syntax:
content: >-
function getPagesBatch(pagesBatchRequest: WikiPagesBatchRequest,
project: string, wikiIdentifier: string, versionDescriptor?:
GitVersionDescriptor): Promise<PagedList<WikiPageDetail>>
parameters:
- id: pagesBatchRequest
type: <xref uid="azure-devops-extension-api.WikiPagesBatchRequest" />
description: Wiki batch page request.
- id: project
type: string
description: Project ID or project name
- id: wikiIdentifier
type: string
description: Wiki ID or wiki name.
- id: versionDescriptor
type: <xref uid="azure-devops-extension-api.GitVersionDescriptor" />
description: >-
GitVersionDescriptor for the page. (Optional in case of
ProjectWiki).
return:
description: ''
type: >-
Promise<<xref uid="azure-devops-extension-api.PagedList"
/><<xref uid="azure-devops-extension-api.WikiPageDetail" />>>
- name: >-
getPageText(string, string, string, VersionControlRecursionType,
GitVersionDescriptor, boolean)
uid: azure-devops-extension-api.WikiRestClient.getPageText
package: azure-devops-extension-api
summary: >-
Gets metadata or content of the wiki page for the provided path. Content
negotiation is done based on the `Accept` header sent in the request.
remarks: ''
isDeprecated: false
syntax:
content: >-
function getPageText(project: string, wikiIdentifier: string, path?:
string, recursionLevel?: VersionControlRecursionType,
versionDescriptor?: GitVersionDescriptor, includeContent?: boolean):
Promise<string>
parameters:
- id: project
type: string
description: Project ID or project name
- id: wikiIdentifier
type: string
description: Wiki ID or wiki name.
- id: path
type: string
description: Wiki page path.
- id: recursionLevel
type: >-
<xref uid="azure-devops-extension-api.VersionControlRecursionType"
/>
description: >-
Recursion level for subpages retrieval. Defaults to `None`
(Optional).
- id: versionDescriptor
type: <xref uid="azure-devops-extension-api.GitVersionDescriptor" />
description: >-
GitVersionDescriptor for the page. Defaults to the default branch
(Optional).
- id: includeContent
type: boolean
description: >-
True to include the content of the page in the response for Json
content type. Defaults to false (Optional)
return:
description: ''
type: Promise<string>
- name: >-
getPageZip(string, string, string, VersionControlRecursionType,
GitVersionDescriptor, boolean)
uid: azure-devops-extension-api.WikiRestClient.getPageZip
package: azure-devops-extension-api
summary: >-
Gets metadata or content of the wiki page for the provided path. Content
negotiation is done based on the `Accept` header sent in the request.
remarks: ''
isDeprecated: false
syntax:
content: >-
function getPageZip(project: string, wikiIdentifier: string, path?:
string, recursionLevel?: VersionControlRecursionType,
versionDescriptor?: GitVersionDescriptor, includeContent?: boolean):
Promise<ArrayBuffer>
parameters:
- id: project
type: string
description: Project ID or project name
- id: wikiIdentifier
type: string
description: Wiki ID or wiki name.
- id: path
type: string
description: Wiki page path.
- id: recursionLevel
type: >-
<xref uid="azure-devops-extension-api.VersionControlRecursionType"
/>
description: >-
Recursion level for subpages retrieval. Defaults to `None`
(Optional).
- id: versionDescriptor
type: <xref uid="azure-devops-extension-api.GitVersionDescriptor" />
description: >-
GitVersionDescriptor for the page. Defaults to the default branch
(Optional).
- id: includeContent
type: boolean
description: >-
True to include the content of the page in the response for Json
content type. Defaults to false (Optional)
return:
description: ''
type: Promise<ArrayBuffer>
- name: getWiki(string, string)
uid: azure-devops-extension-api.WikiRestClient.getWiki
package: azure-devops-extension-api
summary: Gets the wiki corresponding to the wiki ID or wiki name provided.
remarks: ''
isDeprecated: false
syntax:
content: >-
function getWiki(wikiIdentifier: string, project?: string):
Promise<WikiV2>
parameters:
- id: wikiIdentifier
type: string
description: Wiki ID or wiki name.
- id: project
type: string
description: Project ID or project name
return:
description: ''
type: Promise<<xref uid="azure-devops-extension-api.WikiV2" />>
- name: >-
listComments(string, string, number, number, string, boolean,
CommentExpandOptions, CommentSortOrder, number)
uid: azure-devops-extension-api.WikiRestClient.listComments
package: azure-devops-extension-api
summary: Returns a pageable list of comments.
remarks: ''
isDeprecated: false
syntax:
content: >-
function listComments(project: string, wikiIdentifier: string, pageId:
number, top?: number, continuationToken?: string, excludeDeleted?:
boolean, expand?: CommentExpandOptions, order?: CommentSortOrder,
parentId?: number): Promise<CommentList>
parameters:
- id: project
type: string
description: Project ID or project name
- id: wikiIdentifier
type: string
description: Wiki ID or wiki name.
- id: pageId
type: number
description: Wiki page ID.
- id: top
type: number
description: Max number of comments to return.
- id: continuationToken
type: string
description: Used to query for the next page of comments.
- id: excludeDeleted
type: boolean
description: Specify if the deleted comments should be skipped.
- id: expand
type: <xref uid="azure-devops-extension-api.CommentExpandOptions" />
description: Specifies the additional data retrieval options for comments.
- id: order
type: <xref uid="azure-devops-extension-api.CommentSortOrder" />
description: Order in which the comments should be returned.
- id: parentId
type: number
description: CommentId of the parent comment.
return:
description: ''
type: Promise<<xref uid="azure-devops-extension-api.CommentList" />>
- name: updateComment(CommentUpdateParameters, string, string, number, number)
uid: azure-devops-extension-api.WikiRestClient.updateComment
package: azure-devops-extension-api
summary: Update a comment on a wiki page.
remarks: ''
isDeprecated: false
syntax:
content: >-
function updateComment(comment: CommentUpdateParameters, project:
string, wikiIdentifier: string, pageId: number, id: number):
Promise<Comment>
parameters:
- id: comment
type: <xref uid="azure-devops-extension-api.CommentUpdateParameters" />
description: Comment update request.
- id: project
type: string
description: Project ID or project name
- id: wikiIdentifier
type: string
description: Wiki ID or wiki name.
- id: pageId
type: number
description: Wiki page ID.
- id: id
type: number
description: Comment ID.
return:
description: ''
type: Promise<<xref uid="azure-devops-extension-api.Comment" />>
- name: updateWiki(WikiUpdateParameters, string, string)
uid: azure-devops-extension-api.WikiRestClient.updateWiki
package: azure-devops-extension-api
summary: >-
Updates the wiki corresponding to the wiki ID or wiki name provided using
the update parameters.
remarks: ''
isDeprecated: false
syntax:
content: >-
function updateWiki(updateParameters: WikiUpdateParameters,
wikiIdentifier: string, project?: string): Promise<WikiV2>
parameters:
- id: updateParameters
type: <xref uid="azure-devops-extension-api.WikiUpdateParameters" />
description: Update parameters.
- id: wikiIdentifier
type: string
description: Wiki ID or wiki name.
- id: project
type: string
description: Project ID or project name
return:
description: ''
type: Promise<<xref uid="azure-devops-extension-api.WikiV2" />>
extends: <xref uid="azure-devops-extension-api.RestClientBase" />