@resolution/confluence-api-client 0.5.0 → 0.5.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/README.md +7 -0
- package/lib/openapi/v1/BaseConfluenceApiV1Client.d.ts +4 -6
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js +3 -2
- package/lib/openapi/v1/BaseConfluenceApiV1Client.js.map +1 -1
- package/lib/openapi/v1/models/common.d.ts +1 -0
- package/lib/openapi/v1/models/common.js +1 -0
- package/lib/openapi/v1/models/common.js.map +1 -1
- package/lib/openapi/v1/models/dynamicModules.d.ts +6 -3
- package/lib/openapi/v1/models/dynamicModules.js.map +1 -1
- package/lib/openapi/v1/models/space.d.ts +10 -3
- package/lib/openapi/v1/models/space.js +2 -1
- package/lib/openapi/v1/models/space.js.map +1 -1
- package/lib/openapi/v1/services/AnalyticsService.d.ts +9 -5
- package/lib/openapi/v1/services/AnalyticsService.js +4 -2
- package/lib/openapi/v1/services/AnalyticsService.js.map +1 -1
- package/lib/openapi/v1/services/AuditService.d.ts +14 -8
- package/lib/openapi/v1/services/AuditService.js +13 -7
- package/lib/openapi/v1/services/AuditService.js.map +1 -1
- package/lib/openapi/v1/services/ContentAttachmentsService.d.ts +13 -7
- package/lib/openapi/v1/services/ContentAttachmentsService.js +12 -6
- package/lib/openapi/v1/services/ContentAttachmentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentBodyService.d.ts +8 -6
- package/lib/openapi/v1/services/ContentBodyService.js +7 -5
- package/lib/openapi/v1/services/ContentBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.d.ts +18 -10
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js +17 -9
- package/lib/openapi/v1/services/ContentChildrenAndDescendantsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentCommentsService.d.ts +3 -2
- package/lib/openapi/v1/services/ContentCommentsService.js +2 -1
- package/lib/openapi/v1/services/ContentCommentsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentLabelsService.d.ts +9 -5
- package/lib/openapi/v1/services/ContentLabelsService.js +8 -4
- package/lib/openapi/v1/services/ContentLabelsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentMacroBodyService.d.ts +7 -6
- package/lib/openapi/v1/services/ContentMacroBodyService.js +6 -5
- package/lib/openapi/v1/services/ContentMacroBodyService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPermissionsService.d.ts +3 -2
- package/lib/openapi/v1/services/ContentPermissionsService.js +2 -1
- package/lib/openapi/v1/services/ContentPermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentPropertiesService.d.ts +13 -7
- package/lib/openapi/v1/services/ContentPropertiesService.js +12 -6
- package/lib/openapi/v1/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentRestrictionsService.d.ts +31 -22
- package/lib/openapi/v1/services/ContentRestrictionsService.js +30 -21
- package/lib/openapi/v1/services/ContentRestrictionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentService.d.ts +21 -11
- package/lib/openapi/v1/services/ContentService.js +20 -10
- package/lib/openapi/v1/services/ContentService.js.map +1 -1
- package/lib/openapi/v1/services/ContentStatesService.d.ts +21 -12
- package/lib/openapi/v1/services/ContentStatesService.js +20 -11
- package/lib/openapi/v1/services/ContentStatesService.js.map +1 -1
- package/lib/openapi/v1/services/ContentVersionsService.d.ts +9 -5
- package/lib/openapi/v1/services/ContentVersionsService.js +8 -4
- package/lib/openapi/v1/services/ContentVersionsService.js.map +1 -1
- package/lib/openapi/v1/services/ContentWatchesService.d.ts +25 -13
- package/lib/openapi/v1/services/ContentWatchesService.js +24 -12
- package/lib/openapi/v1/services/ContentWatchesService.js.map +1 -1
- package/lib/openapi/v1/services/DynamicModulesService.d.ts +6 -4
- package/lib/openapi/v1/services/DynamicModulesService.js +5 -3
- package/lib/openapi/v1/services/DynamicModulesService.js.map +1 -1
- package/lib/openapi/v1/services/ExperimentalService.d.ts +13 -9
- package/lib/openapi/v1/services/ExperimentalService.js +12 -8
- package/lib/openapi/v1/services/ExperimentalService.js.map +1 -1
- package/lib/openapi/v1/services/GroupService.d.ts +31 -16
- package/lib/openapi/v1/services/GroupService.js +30 -15
- package/lib/openapi/v1/services/GroupService.js.map +1 -1
- package/lib/openapi/v1/services/InlineTasksService.d.ts +7 -4
- package/lib/openapi/v1/services/InlineTasksService.js +6 -3
- package/lib/openapi/v1/services/InlineTasksService.js.map +1 -1
- package/lib/openapi/v1/services/LabelInfoService.d.ts +3 -2
- package/lib/openapi/v1/services/LabelInfoService.js +2 -1
- package/lib/openapi/v1/services/LabelInfoService.js.map +1 -1
- package/lib/openapi/v1/services/LongRunningTaskService.d.ts +5 -3
- package/lib/openapi/v1/services/LongRunningTaskService.js +4 -2
- package/lib/openapi/v1/services/LongRunningTaskService.js.map +1 -1
- package/lib/openapi/v1/services/RelationService.d.ts +12 -13
- package/lib/openapi/v1/services/RelationService.js +11 -12
- package/lib/openapi/v1/services/RelationService.js.map +1 -1
- package/lib/openapi/v1/services/SearchService.d.ts +5 -3
- package/lib/openapi/v1/services/SearchService.js +4 -2
- package/lib/openapi/v1/services/SearchService.js.map +1 -1
- package/lib/openapi/v1/services/SettingsService.d.ts +14 -11
- package/lib/openapi/v1/services/SettingsService.js +13 -10
- package/lib/openapi/v1/services/SettingsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePermissionsService.d.ts +7 -4
- package/lib/openapi/v1/services/SpacePermissionsService.js +6 -3
- package/lib/openapi/v1/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v1/services/SpacePropertiesService.d.ts +13 -7
- package/lib/openapi/v1/services/SpacePropertiesService.js +12 -6
- package/lib/openapi/v1/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceService.d.ts +20 -15
- package/lib/openapi/v1/services/SpaceService.js +19 -14
- package/lib/openapi/v1/services/SpaceService.js.map +1 -1
- package/lib/openapi/v1/services/SpaceSettingsService.d.ts +5 -3
- package/lib/openapi/v1/services/SpaceSettingsService.js +4 -2
- package/lib/openapi/v1/services/SpaceSettingsService.js.map +1 -1
- package/lib/openapi/v1/services/TemplateService.d.ts +15 -11
- package/lib/openapi/v1/services/TemplateService.js +14 -10
- package/lib/openapi/v1/services/TemplateService.js.map +1 -1
- package/lib/openapi/v1/services/ThemesService.d.ts +12 -7
- package/lib/openapi/v1/services/ThemesService.js +11 -6
- package/lib/openapi/v1/services/ThemesService.js.map +1 -1
- package/lib/openapi/v1/services/UserPropertiesService.d.ts +11 -6
- package/lib/openapi/v1/services/UserPropertiesService.js +10 -5
- package/lib/openapi/v1/services/UserPropertiesService.js.map +1 -1
- package/lib/openapi/v1/services/UsersService.d.ts +15 -8
- package/lib/openapi/v1/services/UsersService.js +14 -7
- package/lib/openapi/v1/services/UsersService.js.map +1 -1
- package/lib/openapi/v2/BaseConfluenceApiV2Client.d.ts +4 -6
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js +3 -2
- package/lib/openapi/v2/BaseConfluenceApiV2Client.js.map +1 -1
- package/lib/openapi/v2/services/AncestorsService.d.ts +9 -5
- package/lib/openapi/v2/services/AncestorsService.js +8 -4
- package/lib/openapi/v2/services/AncestorsService.js.map +1 -1
- package/lib/openapi/v2/services/AttachmentService.d.ts +16 -10
- package/lib/openapi/v2/services/AttachmentService.js +15 -9
- package/lib/openapi/v2/services/AttachmentService.js.map +1 -1
- package/lib/openapi/v2/services/BlogPostService.d.ts +16 -10
- package/lib/openapi/v2/services/BlogPostService.js +15 -9
- package/lib/openapi/v2/services/BlogPostService.js.map +1 -1
- package/lib/openapi/v2/services/ChildrenService.d.ts +5 -3
- package/lib/openapi/v2/services/ChildrenService.js +4 -2
- package/lib/openapi/v2/services/ChildrenService.js.map +1 -1
- package/lib/openapi/v2/services/ClassificationLevelService.d.ts +20 -11
- package/lib/openapi/v2/services/ClassificationLevelService.js +19 -10
- package/lib/openapi/v2/services/ClassificationLevelService.js.map +1 -1
- package/lib/openapi/v2/services/CommentService.d.ts +37 -19
- package/lib/openapi/v2/services/CommentService.js +36 -18
- package/lib/openapi/v2/services/CommentService.js.map +1 -1
- package/lib/openapi/v2/services/ContentPropertiesService.d.ts +81 -41
- package/lib/openapi/v2/services/ContentPropertiesService.js +80 -40
- package/lib/openapi/v2/services/ContentPropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/ContentService.d.ts +4 -4
- package/lib/openapi/v2/services/ContentService.js +3 -3
- package/lib/openapi/v2/services/ContentService.js.map +1 -1
- package/lib/openapi/v2/services/CustomContentService.d.ts +17 -9
- package/lib/openapi/v2/services/CustomContentService.js +16 -8
- package/lib/openapi/v2/services/CustomContentService.js.map +1 -1
- package/lib/openapi/v2/services/DataPoliciesService.d.ts +4 -3
- package/lib/openapi/v2/services/DataPoliciesService.js +3 -2
- package/lib/openapi/v2/services/DataPoliciesService.js.map +1 -1
- package/lib/openapi/v2/services/DatabaseService.d.ts +7 -4
- package/lib/openapi/v2/services/DatabaseService.js +6 -3
- package/lib/openapi/v2/services/DatabaseService.js.map +1 -1
- package/lib/openapi/v2/services/LabelService.d.ts +15 -8
- package/lib/openapi/v2/services/LabelService.js +14 -7
- package/lib/openapi/v2/services/LabelService.js.map +1 -1
- package/lib/openapi/v2/services/LikeService.d.ts +17 -9
- package/lib/openapi/v2/services/LikeService.js +16 -8
- package/lib/openapi/v2/services/LikeService.js.map +1 -1
- package/lib/openapi/v2/services/OperationService.d.ts +21 -11
- package/lib/openapi/v2/services/OperationService.js +20 -10
- package/lib/openapi/v2/services/OperationService.js.map +1 -1
- package/lib/openapi/v2/services/PageService.d.ts +24 -10
- package/lib/openapi/v2/services/PageService.js +14 -7
- package/lib/openapi/v2/services/PageService.js.map +1 -1
- package/lib/openapi/v2/services/SmartLinkService.d.ts +7 -4
- package/lib/openapi/v2/services/SmartLinkService.js +6 -3
- package/lib/openapi/v2/services/SmartLinkService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePermissionsService.d.ts +3 -2
- package/lib/openapi/v2/services/SpacePermissionsService.js +2 -1
- package/lib/openapi/v2/services/SpacePermissionsService.js.map +1 -1
- package/lib/openapi/v2/services/SpacePropertiesService.d.ts +12 -8
- package/lib/openapi/v2/services/SpacePropertiesService.js +11 -7
- package/lib/openapi/v2/services/SpacePropertiesService.js.map +1 -1
- package/lib/openapi/v2/services/SpaceService.d.ts +5 -3
- package/lib/openapi/v2/services/SpaceService.js +4 -2
- package/lib/openapi/v2/services/SpaceService.js.map +1 -1
- package/lib/openapi/v2/services/TaskService.d.ts +7 -4
- package/lib/openapi/v2/services/TaskService.js +6 -3
- package/lib/openapi/v2/services/TaskService.js.map +1 -1
- package/lib/openapi/v2/services/UserService.d.ts +8 -6
- package/lib/openapi/v2/services/UserService.js +7 -5
- package/lib/openapi/v2/services/UserService.js.map +1 -1
- package/lib/openapi/v2/services/VersionService.d.ts +25 -13
- package/lib/openapi/v2/services/VersionService.js +24 -12
- package/lib/openapi/v2/services/VersionService.js.map +1 -1
- package/lib/openapi/v2/services/WhiteboardService.d.ts +7 -4
- package/lib/openapi/v2/services/WhiteboardService.js +6 -3
- package/lib/openapi/v2/services/WhiteboardService.js.map +1 -1
- package/package.json +4 -3
|
@@ -17,10 +17,11 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
17
17
|
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
18
18
|
* permission to access the Confluence site ('Can use' global permission).
|
|
19
19
|
*
|
|
20
|
-
* @path
|
|
20
|
+
* @path POST `/wiki/rest/api/user/watch/content/{contentId}`
|
|
21
21
|
* @scopes-current write:confluence-content
|
|
22
22
|
* @scopes-beta write:watcher:confluence
|
|
23
23
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-content-contentid-post
|
|
24
|
+
* @param params
|
|
24
25
|
*/
|
|
25
26
|
addContentWatcher: ({ contentId, key, username, accountId, }: {
|
|
26
27
|
/** The ID of the content to add the watcher to. */
|
|
@@ -69,10 +70,11 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
69
70
|
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
70
71
|
* permission to access the Confluence site ('Can use' global permission).
|
|
71
72
|
*
|
|
72
|
-
* @path
|
|
73
|
+
* @path POST `/wiki/rest/api/user/watch/label/{labelName}`
|
|
73
74
|
* @scopes-current write:confluence-content
|
|
74
75
|
* @scopes-beta write:watcher:confluence
|
|
75
76
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-label-labelname-post
|
|
77
|
+
* @param params
|
|
76
78
|
*/
|
|
77
79
|
addLabelWatcher: ({ labelName, key, username, accountId, xAtlassianToken, }: {
|
|
78
80
|
/** The name of the label to add the watcher to. */
|
|
@@ -126,10 +128,11 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
126
128
|
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
127
129
|
* permission to access the Confluence site ('Can use' global permission).
|
|
128
130
|
*
|
|
129
|
-
* @path
|
|
131
|
+
* @path POST `/wiki/rest/api/user/watch/space/{spaceKey}`
|
|
130
132
|
* @scopes-current write:confluence-content
|
|
131
133
|
* @scopes-beta write:watcher:confluence
|
|
132
134
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-space-spacekey-post
|
|
135
|
+
* @param params
|
|
133
136
|
*/
|
|
134
137
|
addSpaceWatcher: ({ spaceKey, key, username, accountId, xAtlassianToken, }: {
|
|
135
138
|
/** The key of the space to add the watcher to. */
|
|
@@ -181,10 +184,11 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
181
184
|
* permission to access the Confluence site ('Can use' global permission).
|
|
182
185
|
*
|
|
183
186
|
* @returns Returned if the requested watch status is returned.
|
|
184
|
-
* @path
|
|
187
|
+
* @path GET `/wiki/rest/api/user/watch/content/{contentId}`
|
|
185
188
|
* @scopes-current read:confluence-content.summary
|
|
186
189
|
* @scopes-beta read:watcher:confluence
|
|
187
190
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-content-contentid-get
|
|
191
|
+
* @param params
|
|
188
192
|
*/
|
|
189
193
|
getContentWatchStatus: ({ contentId, key, username, accountId, }: {
|
|
190
194
|
/**
|
|
@@ -225,9 +229,10 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
225
229
|
* Returns a list of watchers of a space
|
|
226
230
|
*
|
|
227
231
|
* @returns Returned if watchers list is returned.
|
|
228
|
-
* @path
|
|
232
|
+
* @path GET `/wiki/rest/api/space/{spaceKey}/watch`
|
|
229
233
|
* @scopes-current read:watcher:confluence, read:user:confluence
|
|
230
234
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-space-spacekey-watch-get
|
|
235
|
+
* @param params
|
|
231
236
|
*/
|
|
232
237
|
getWatchersForSpace: ({ spaceKey, start, limit, }: {
|
|
233
238
|
/** The key of the space to get watchers. */
|
|
@@ -254,10 +259,11 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
254
259
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
255
260
|
*
|
|
256
261
|
* @returns Returned if the requested watches are returned.
|
|
257
|
-
* @path
|
|
262
|
+
* @path GET `/wiki/rest/api/content/{id}/notification/child-created`
|
|
258
263
|
* @scopes-current read:confluence-content.summary
|
|
259
264
|
* @scopes-beta read:watcher:confluence, read:user:confluence
|
|
260
265
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-content-id-notification-child-created-get
|
|
266
|
+
* @param params
|
|
261
267
|
*/
|
|
262
268
|
getWatchesForPage: ({ id, start, limit, }: {
|
|
263
269
|
/** The ID of the content to be queried for its watches. */
|
|
@@ -285,10 +291,11 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
285
291
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
286
292
|
*
|
|
287
293
|
* @returns Returned if the requested watches are returned.
|
|
288
|
-
* @path
|
|
294
|
+
* @path GET `/wiki/rest/api/content/{id}/notification/created`
|
|
289
295
|
* @scopes-current read:confluence-content.summary
|
|
290
296
|
* @scopes-beta read:watcher:confluence, read:user:confluence
|
|
291
297
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-content-id-notification-created-get
|
|
298
|
+
* @param params
|
|
292
299
|
*/
|
|
293
300
|
getWatchesForSpace: ({ id, start, limit, }: {
|
|
294
301
|
/** The ID of the content to be queried for its watches. */
|
|
@@ -314,10 +321,11 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
314
321
|
* permission to access the Confluence site ('Can use' global permission).
|
|
315
322
|
*
|
|
316
323
|
* @returns Returned if the requested watch status is returned.
|
|
317
|
-
* @path
|
|
324
|
+
* @path GET `/wiki/rest/api/user/watch/label/{labelName}`
|
|
318
325
|
* @scopes-current read:confluence-content.summary
|
|
319
326
|
* @scopes-beta read:watcher:confluence
|
|
320
327
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-label-labelname-get
|
|
328
|
+
* @param params
|
|
321
329
|
*/
|
|
322
330
|
isWatchingLabel: ({ labelName, key, username, accountId, }: {
|
|
323
331
|
/**
|
|
@@ -367,10 +375,11 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
367
375
|
* permission to access the Confluence site ('Can use' global permission).
|
|
368
376
|
*
|
|
369
377
|
* @returns Returned if the requested watch status is returned.
|
|
370
|
-
* @path
|
|
378
|
+
* @path GET `/wiki/rest/api/user/watch/space/{spaceKey}`
|
|
371
379
|
* @scopes-current read:confluence-content.summary
|
|
372
380
|
* @scopes-beta read:watcher:confluence
|
|
373
381
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-space-spacekey-get
|
|
382
|
+
* @param params
|
|
374
383
|
*/
|
|
375
384
|
isWatchingSpace: ({ spaceKey, key, username, accountId, }: {
|
|
376
385
|
/**
|
|
@@ -419,10 +428,11 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
419
428
|
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
420
429
|
* permission to access the Confluence site ('Can use' global permission).
|
|
421
430
|
*
|
|
422
|
-
* @path
|
|
431
|
+
* @path DELETE `/wiki/rest/api/user/watch/content/{contentId}`
|
|
423
432
|
* @scopes-current write:confluence-content
|
|
424
433
|
* @scopes-beta write:watcher:confluence
|
|
425
434
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-content-contentid-delete
|
|
435
|
+
* @param params
|
|
426
436
|
*/
|
|
427
437
|
removeContentWatcher: ({ contentId, key, username, accountId, xAtlassianToken, }: {
|
|
428
438
|
/** The ID of the content to remove the watcher from. */
|
|
@@ -473,10 +483,11 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
473
483
|
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
474
484
|
* permission to access the Confluence site ('Can use' global permission).
|
|
475
485
|
*
|
|
476
|
-
* @path
|
|
486
|
+
* @path DELETE `/wiki/rest/api/user/watch/label/{labelName}`
|
|
477
487
|
* @scopes-current write:confluence-content
|
|
478
488
|
* @scopes-beta write:watcher:confluence
|
|
479
489
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-label-labelname-delete
|
|
490
|
+
* @param params
|
|
480
491
|
*/
|
|
481
492
|
removeLabelWatcher: ({ labelName, key, username, accountId, }: {
|
|
482
493
|
/** The name of the label to remove the watcher from. */
|
|
@@ -522,10 +533,11 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
522
533
|
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
523
534
|
* permission to access the Confluence site ('Can use' global permission).
|
|
524
535
|
*
|
|
525
|
-
* @path
|
|
536
|
+
* @path DELETE `/wiki/rest/api/user/watch/space/{spaceKey}`
|
|
526
537
|
* @scopes-current write:confluence-content
|
|
527
538
|
* @scopes-beta write:watcher:confluence
|
|
528
539
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-space-spacekey-delete
|
|
540
|
+
* @param params
|
|
529
541
|
*/
|
|
530
542
|
removeSpaceWatch: ({ spaceKey, key, username, accountId, }: {
|
|
531
543
|
/** The key of the space to remove the watcher from. */
|
|
@@ -559,5 +571,5 @@ export declare class ContentWatchesService extends CommonHttpService {
|
|
|
559
571
|
*/
|
|
560
572
|
accountId?: string | undefined;
|
|
561
573
|
}) => Promise<void>;
|
|
562
|
-
static initialize(): void;
|
|
574
|
+
protected static initialize(): void;
|
|
563
575
|
}
|
|
@@ -28,10 +28,11 @@ class ContentWatchesService extends CommonHttpService_1.CommonHttpService {
|
|
|
28
28
|
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
29
29
|
* permission to access the Confluence site ('Can use' global permission).
|
|
30
30
|
*
|
|
31
|
-
* @path
|
|
31
|
+
* @path POST `/wiki/rest/api/user/watch/content/{contentId}`
|
|
32
32
|
* @scopes-current write:confluence-content
|
|
33
33
|
* @scopes-beta write:watcher:confluence
|
|
34
34
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-content-contentid-post
|
|
35
|
+
* @param params
|
|
35
36
|
*/
|
|
36
37
|
this.addContentWatcher = ({ contentId, key, username, accountId, }) => {
|
|
37
38
|
return this.getClientInstance()
|
|
@@ -64,10 +65,11 @@ class ContentWatchesService extends CommonHttpService_1.CommonHttpService {
|
|
|
64
65
|
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
65
66
|
* permission to access the Confluence site ('Can use' global permission).
|
|
66
67
|
*
|
|
67
|
-
* @path
|
|
68
|
+
* @path POST `/wiki/rest/api/user/watch/label/{labelName}`
|
|
68
69
|
* @scopes-current write:confluence-content
|
|
69
70
|
* @scopes-beta write:watcher:confluence
|
|
70
71
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-label-labelname-post
|
|
72
|
+
* @param params
|
|
71
73
|
*/
|
|
72
74
|
this.addLabelWatcher = ({ labelName, key, username, accountId, xAtlassianToken, }) => {
|
|
73
75
|
return this.getClientInstance()
|
|
@@ -103,10 +105,11 @@ class ContentWatchesService extends CommonHttpService_1.CommonHttpService {
|
|
|
103
105
|
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
104
106
|
* permission to access the Confluence site ('Can use' global permission).
|
|
105
107
|
*
|
|
106
|
-
* @path
|
|
108
|
+
* @path POST `/wiki/rest/api/user/watch/space/{spaceKey}`
|
|
107
109
|
* @scopes-current write:confluence-content
|
|
108
110
|
* @scopes-beta write:watcher:confluence
|
|
109
111
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-space-spacekey-post
|
|
112
|
+
* @param params
|
|
110
113
|
*/
|
|
111
114
|
this.addSpaceWatcher = ({ spaceKey, key, username, accountId, xAtlassianToken, }) => {
|
|
112
115
|
return this.getClientInstance()
|
|
@@ -140,10 +143,11 @@ class ContentWatchesService extends CommonHttpService_1.CommonHttpService {
|
|
|
140
143
|
* permission to access the Confluence site ('Can use' global permission).
|
|
141
144
|
*
|
|
142
145
|
* @returns Returned if the requested watch status is returned.
|
|
143
|
-
* @path
|
|
146
|
+
* @path GET `/wiki/rest/api/user/watch/content/{contentId}`
|
|
144
147
|
* @scopes-current read:confluence-content.summary
|
|
145
148
|
* @scopes-beta read:watcher:confluence
|
|
146
149
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-content-contentid-get
|
|
150
|
+
* @param params
|
|
147
151
|
*/
|
|
148
152
|
this.getContentWatchStatus = ({ contentId, key, username, accountId, }) => {
|
|
149
153
|
return this.getClientInstance()
|
|
@@ -172,9 +176,10 @@ class ContentWatchesService extends CommonHttpService_1.CommonHttpService {
|
|
|
172
176
|
* Returns a list of watchers of a space
|
|
173
177
|
*
|
|
174
178
|
* @returns Returned if watchers list is returned.
|
|
175
|
-
* @path
|
|
179
|
+
* @path GET `/wiki/rest/api/space/{spaceKey}/watch`
|
|
176
180
|
* @scopes-current read:watcher:confluence, read:user:confluence
|
|
177
181
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-space-spacekey-watch-get
|
|
182
|
+
* @param params
|
|
178
183
|
*/
|
|
179
184
|
this.getWatchersForSpace = ({ spaceKey, start, limit, }) => {
|
|
180
185
|
return this.getClientInstance()
|
|
@@ -212,10 +217,11 @@ class ContentWatchesService extends CommonHttpService_1.CommonHttpService {
|
|
|
212
217
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
213
218
|
*
|
|
214
219
|
* @returns Returned if the requested watches are returned.
|
|
215
|
-
* @path
|
|
220
|
+
* @path GET `/wiki/rest/api/content/{id}/notification/child-created`
|
|
216
221
|
* @scopes-current read:confluence-content.summary
|
|
217
222
|
* @scopes-beta read:watcher:confluence, read:user:confluence
|
|
218
223
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-content-id-notification-child-created-get
|
|
224
|
+
* @param params
|
|
219
225
|
*/
|
|
220
226
|
this.getWatchesForPage = ({ id, start, limit, }) => {
|
|
221
227
|
return this.getClientInstance()
|
|
@@ -254,10 +260,11 @@ class ContentWatchesService extends CommonHttpService_1.CommonHttpService {
|
|
|
254
260
|
* Permission to access the Confluence site ('Can use' global permission).
|
|
255
261
|
*
|
|
256
262
|
* @returns Returned if the requested watches are returned.
|
|
257
|
-
* @path
|
|
263
|
+
* @path GET `/wiki/rest/api/content/{id}/notification/created`
|
|
258
264
|
* @scopes-current read:confluence-content.summary
|
|
259
265
|
* @scopes-beta read:watcher:confluence, read:user:confluence
|
|
260
266
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-content-id-notification-created-get
|
|
267
|
+
* @param params
|
|
261
268
|
*/
|
|
262
269
|
this.getWatchesForSpace = ({ id, start, limit, }) => {
|
|
263
270
|
return this.getClientInstance()
|
|
@@ -294,10 +301,11 @@ class ContentWatchesService extends CommonHttpService_1.CommonHttpService {
|
|
|
294
301
|
* permission to access the Confluence site ('Can use' global permission).
|
|
295
302
|
*
|
|
296
303
|
* @returns Returned if the requested watch status is returned.
|
|
297
|
-
* @path
|
|
304
|
+
* @path GET `/wiki/rest/api/user/watch/label/{labelName}`
|
|
298
305
|
* @scopes-current read:confluence-content.summary
|
|
299
306
|
* @scopes-beta read:watcher:confluence
|
|
300
307
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-label-labelname-get
|
|
308
|
+
* @param params
|
|
301
309
|
*/
|
|
302
310
|
this.isWatchingLabel = ({ labelName, key, username, accountId, }) => {
|
|
303
311
|
return this.getClientInstance()
|
|
@@ -335,10 +343,11 @@ class ContentWatchesService extends CommonHttpService_1.CommonHttpService {
|
|
|
335
343
|
* permission to access the Confluence site ('Can use' global permission).
|
|
336
344
|
*
|
|
337
345
|
* @returns Returned if the requested watch status is returned.
|
|
338
|
-
* @path
|
|
346
|
+
* @path GET `/wiki/rest/api/user/watch/space/{spaceKey}`
|
|
339
347
|
* @scopes-current read:confluence-content.summary
|
|
340
348
|
* @scopes-beta read:watcher:confluence
|
|
341
349
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-space-spacekey-get
|
|
350
|
+
* @param params
|
|
342
351
|
*/
|
|
343
352
|
this.isWatchingSpace = ({ spaceKey, key, username, accountId, }) => {
|
|
344
353
|
return this.getClientInstance()
|
|
@@ -375,10 +384,11 @@ class ContentWatchesService extends CommonHttpService_1.CommonHttpService {
|
|
|
375
384
|
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
376
385
|
* permission to access the Confluence site ('Can use' global permission).
|
|
377
386
|
*
|
|
378
|
-
* @path
|
|
387
|
+
* @path DELETE `/wiki/rest/api/user/watch/content/{contentId}`
|
|
379
388
|
* @scopes-current write:confluence-content
|
|
380
389
|
* @scopes-beta write:watcher:confluence
|
|
381
390
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-content-contentid-delete
|
|
391
|
+
* @param params
|
|
382
392
|
*/
|
|
383
393
|
this.removeContentWatcher = ({ contentId, key, username, accountId, xAtlassianToken, }) => {
|
|
384
394
|
return this.getClientInstance()
|
|
@@ -411,10 +421,11 @@ class ContentWatchesService extends CommonHttpService_1.CommonHttpService {
|
|
|
411
421
|
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
412
422
|
* permission to access the Confluence site ('Can use' global permission).
|
|
413
423
|
*
|
|
414
|
-
* @path
|
|
424
|
+
* @path DELETE `/wiki/rest/api/user/watch/label/{labelName}`
|
|
415
425
|
* @scopes-current write:confluence-content
|
|
416
426
|
* @scopes-beta write:watcher:confluence
|
|
417
427
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-label-labelname-delete
|
|
428
|
+
* @param params
|
|
418
429
|
*/
|
|
419
430
|
this.removeLabelWatcher = ({ labelName, key, username, accountId, }) => {
|
|
420
431
|
return this.getClientInstance()
|
|
@@ -444,10 +455,11 @@ class ContentWatchesService extends CommonHttpService_1.CommonHttpService {
|
|
|
444
455
|
* 'Confluence Administrator' global permission if specifying a user, otherwise
|
|
445
456
|
* permission to access the Confluence site ('Can use' global permission).
|
|
446
457
|
*
|
|
447
|
-
* @path
|
|
458
|
+
* @path DELETE `/wiki/rest/api/user/watch/space/{spaceKey}`
|
|
448
459
|
* @scopes-current write:confluence-content
|
|
449
460
|
* @scopes-beta write:watcher:confluence
|
|
450
461
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-watches#api-wiki-rest-api-user-watch-space-spacekey-delete
|
|
462
|
+
* @param params
|
|
451
463
|
*/
|
|
452
464
|
this.removeSpaceWatch = ({ spaceKey, key, username, accountId, }) => {
|
|
453
465
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentWatchesService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentWatchesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6DAKkC;AAClC,wEAAqE;AACrE,8FAA8F;AAC9F,MAAa,qBAAsB,SAAQ,qCAAiB;IAA5D;;QACE
|
|
1
|
+
{"version":3,"file":"ContentWatchesService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentWatchesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6DAKkC;AAClC,wEAAqE;AACrE,8FAA8F;AAC9F,MAAa,qBAAsB,SAAQ,qCAAiB;IAA5D;;QACE;;;;;;;;;;;;;;;;;;;;WAoBG;QACH,sBAAiB,GAAG,CAAC,EACnB,SAAS,EACT,GAAG,EACH,QAAQ,EACR,SAAS,GAgCV,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,+CAA+C;gBACrD,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,SAAS;iBACV;gBACD,KAAK,EAAE;oBACL,GAAG;oBACH,QAAQ;oBACR,SAAS;iBACV;aACF,CAAC;iBACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;QACF;;;;;;;;;;;;;;;;;;;;WAoBG;QACH,oBAAe,GAAG,CAAC,EACjB,SAAS,EACT,GAAG,EACH,QAAQ,EACR,SAAS,EACT,eAAe,GAqChB,EAAiB,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AAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,WAAW,CAAC;SAChD,CAAC;aACD,QAAQ,CAAC,gDAAgD,CAAC,CAC9D,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,gDAAgD,EAChD,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,OAAO,CAAC,kBAAkB,CAAC;YACxC,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,WAAW,CAAC;SAChD,CAAC;aACD,QAAQ,CAAC,gDAAgD,CAAC,CAC9D,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,wDAAuC;SACxC,CAAC,CAAC;IACL,CAAC;CACF;AAn+BD,sDAm+BC"}
|
|
@@ -9,7 +9,7 @@ export declare class DynamicModulesService extends CommonHttpService {
|
|
|
9
9
|
* request.
|
|
10
10
|
*
|
|
11
11
|
* @returns Returned if the request is successful.
|
|
12
|
-
* @path
|
|
12
|
+
* @path GET `/atlassian-connect/1/app/module/dynamic`
|
|
13
13
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-dynamic-modules#api-atlassian-connect-1-app-module-dynamic-get
|
|
14
14
|
*/
|
|
15
15
|
getModules: () => Promise<Blob>;
|
|
@@ -21,8 +21,9 @@ export declare class DynamicModulesService extends CommonHttpService {
|
|
|
21
21
|
* **[Permissions](#permissions) required:** Only Connect apps can make this
|
|
22
22
|
* request.
|
|
23
23
|
*
|
|
24
|
-
* @path
|
|
24
|
+
* @path POST `/atlassian-connect/1/app/module/dynamic`
|
|
25
25
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-dynamic-modules#api-atlassian-connect-1-app-module-dynamic-post
|
|
26
|
+
* @param params
|
|
26
27
|
*/
|
|
27
28
|
registerModules: ({ mediaType, connectModules, }: {
|
|
28
29
|
mediaType: string;
|
|
@@ -34,8 +35,9 @@ export declare class DynamicModulesService extends CommonHttpService {
|
|
|
34
35
|
* **[Permissions](#permissions) required:** Only Connect apps can make this
|
|
35
36
|
* request.
|
|
36
37
|
*
|
|
37
|
-
* @path
|
|
38
|
+
* @path DELETE `/atlassian-connect/1/app/module/dynamic`
|
|
38
39
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-dynamic-modules#api-atlassian-connect-1-app-module-dynamic-delete
|
|
40
|
+
* @param params
|
|
39
41
|
*/
|
|
40
42
|
removeModules: ({ moduleKey, }: {
|
|
41
43
|
/**
|
|
@@ -47,5 +49,5 @@ export declare class DynamicModulesService extends CommonHttpService {
|
|
|
47
49
|
*/
|
|
48
50
|
moduleKey: string[];
|
|
49
51
|
}) => Promise<void>;
|
|
50
|
-
static initialize(): void;
|
|
52
|
+
protected static initialize(): void;
|
|
51
53
|
}
|
|
@@ -20,7 +20,7 @@ class DynamicModulesService extends CommonHttpService_1.CommonHttpService {
|
|
|
20
20
|
* request.
|
|
21
21
|
*
|
|
22
22
|
* @returns Returned if the request is successful.
|
|
23
|
-
* @path
|
|
23
|
+
* @path GET `/atlassian-connect/1/app/module/dynamic`
|
|
24
24
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-dynamic-modules#api-atlassian-connect-1-app-module-dynamic-get
|
|
25
25
|
*/
|
|
26
26
|
this.getModules = () => {
|
|
@@ -46,8 +46,9 @@ class DynamicModulesService extends CommonHttpService_1.CommonHttpService {
|
|
|
46
46
|
* **[Permissions](#permissions) required:** Only Connect apps can make this
|
|
47
47
|
* request.
|
|
48
48
|
*
|
|
49
|
-
* @path
|
|
49
|
+
* @path POST `/atlassian-connect/1/app/module/dynamic`
|
|
50
50
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-dynamic-modules#api-atlassian-connect-1-app-module-dynamic-post
|
|
51
|
+
* @param params
|
|
51
52
|
*/
|
|
52
53
|
this.registerModules = ({ mediaType, connectModules, }) => {
|
|
53
54
|
return this.getClientInstance()
|
|
@@ -67,8 +68,9 @@ class DynamicModulesService extends CommonHttpService_1.CommonHttpService {
|
|
|
67
68
|
* **[Permissions](#permissions) required:** Only Connect apps can make this
|
|
68
69
|
* request.
|
|
69
70
|
*
|
|
70
|
-
* @path
|
|
71
|
+
* @path DELETE `/atlassian-connect/1/app/module/dynamic`
|
|
71
72
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-dynamic-modules#api-atlassian-connect-1-app-module-dynamic-delete
|
|
73
|
+
* @param params
|
|
72
74
|
*/
|
|
73
75
|
this.removeModules = ({ moduleKey, }) => {
|
|
74
76
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"DynamicModulesService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/DynamicModulesService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6DAGkC;AAClC,wEAAqE;AACrE,8FAA8F;AAC9F,MAAa,qBAAsB,SAAQ,qCAAiB;IAA5D;;QACE;;;;;;;;;WASG;QACH,eAAU,GAAG,GAAkB,EAAE;YAC/B,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,yCAAyC;gBAC/C,MAAM,EAAE,KAAK;aACd,CAAC;iBACD,IAAI,CACH,IAAI,CAAC,iBAAiB,EAAE,CAAC,eAAe,CAAC;gBACvC,GAAG,EAAE;oBACH,KAAK,EAAE,MAAM;iBACd;aACF,CAAC,CACH;iBACA,IAAI,CACH,gBAAgB,CAAC,YAAY,EAIzB,CACL;iBACA,IAAI,CACH,iDAAuB,CAAC,SAAS,CAC/B,2CAA2C,CAC5C,CACF;iBACA,IAAI,CAAC,gBAAgB,CAAC,OAAO,CAAC,CAAC;QACpC,CAAC,CAAC;QACF
|
|
1
|
+
{"version":3,"file":"DynamicModulesService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/DynamicModulesService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AK,EAAE;oBACL,SAAS;iBACV;aACF,CAAC;iBACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;IAgBJ,CAAC;IAfW,MAAM,CAAC,UAAU;QACzB,iDAAuB,CAAC,kBAAkB,CACxC,2CAA2C,EAC3C,OAAC;aACE,MAAM,CAAC;YACN,MAAM,EAAE,OAAC,CAAC,OAAO,CAAC,GAAG,CAAC;YACtB,SAAS,EAAE,OAAC,CAAC,MAAM,EAAE;YACrB,IAAI,EAAE,iDAAuB,CAAC,IAAI,CAAC,gBAAgB,CAAC;SACrD,CAAC;aACD,QAAQ,CAAC,2CAA2C,CAAC,CACzD,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,wDAAuC;SACxC,CAAC,CAAC;IACL,CAAC;CACF;AAnHD,sDAmHC"}
|
|
@@ -22,10 +22,11 @@ export declare class ExperimentalService extends CommonHttpService {
|
|
|
22
22
|
* Permission to update the content.
|
|
23
23
|
*
|
|
24
24
|
* @returns Returned if the labels are added to the content.
|
|
25
|
-
* @path
|
|
25
|
+
* @path POST `/wiki/rest/api/space/{spaceKey}/label`
|
|
26
26
|
* @scopes-current write:confluence-space
|
|
27
27
|
* @scopes-beta read:label:confluence, write:label:confluence
|
|
28
28
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-experimental#api-wiki-rest-api-space-spacekey-label-post
|
|
29
|
+
* @param params
|
|
29
30
|
*/
|
|
30
31
|
addLabelsToSpace: ({ spaceKey, labelCreates, }: {
|
|
31
32
|
/** The key of the space to add labels to. */
|
|
@@ -34,10 +35,11 @@ export declare class ExperimentalService extends CommonHttpService {
|
|
|
34
35
|
labelCreates: LabelCreate[];
|
|
35
36
|
}) => Promise<LabelArray>;
|
|
36
37
|
/**
|
|
37
|
-
* @path
|
|
38
|
+
* @path DELETE `/wiki/rest/api/space/{spaceKey}/label`
|
|
38
39
|
* @scopes-current write:confluence-space
|
|
39
40
|
* @scopes-beta write:label:confluence
|
|
40
41
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-experimental#api-wiki-rest-api-space-spacekey-label-delete
|
|
42
|
+
* @param params
|
|
41
43
|
*/
|
|
42
44
|
deleteLabelFromSpace: ({ spaceKey, name, prefix, }: {
|
|
43
45
|
/** The key of the space to remove a labels from. */
|
|
@@ -60,25 +62,26 @@ export declare class ExperimentalService extends CommonHttpService {
|
|
|
60
62
|
* The delete process happens asynchronously.
|
|
61
63
|
*
|
|
62
64
|
* Response example:
|
|
63
|
-
*
|
|
65
|
+
* ```
|
|
64
66
|
* {
|
|
65
67
|
* "id" : "1180606",
|
|
66
68
|
* "links" : {
|
|
67
69
|
* "status" : "/rest/api/longtask/1180606"
|
|
68
70
|
* }
|
|
69
71
|
* }
|
|
70
|
-
*
|
|
72
|
+
*
|
|
73
|
+
* ```
|
|
71
74
|
* Use the `/longtask/<taskId>` REST API to get the copy task status.
|
|
72
75
|
*
|
|
73
76
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
74
77
|
* 'Delete' permission for the space that the content is in.
|
|
75
78
|
*
|
|
76
|
-
* @returns Returned if the request to trash content and all its current page descendants,
|
|
77
|
-
*
|
|
78
|
-
* @path {DELETE} /wiki/rest/api/content/{id}/pageTree
|
|
79
|
+
* @returns Returned if the request to trash content and all its current page descendants, is successfully accepted.
|
|
80
|
+
* @path DELETE `/wiki/rest/api/content/{id}/pageTree`
|
|
79
81
|
* @scopes-current write:confluence-content
|
|
80
82
|
* @scopes-beta delete:content:confluence
|
|
81
83
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-experimental#api-wiki-rest-api-content-id-pagetree-delete
|
|
84
|
+
* @param params
|
|
82
85
|
*/
|
|
83
86
|
deletePageTree: ({ id, }: {
|
|
84
87
|
/** The ID of the content which forms root of the page tree, to be deleted. */
|
|
@@ -90,10 +93,11 @@ export declare class ExperimentalService extends CommonHttpService {
|
|
|
90
93
|
* select different types of labels.
|
|
91
94
|
*
|
|
92
95
|
* @returns Returned if the list of labels is returned.
|
|
93
|
-
* @path
|
|
96
|
+
* @path GET `/wiki/rest/api/space/{spaceKey}/label`
|
|
94
97
|
* @scopes-current read:confluence-space.summary
|
|
95
98
|
* @scopes-beta read:label:confluence
|
|
96
99
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-experimental#api-wiki-rest-api-space-spacekey-label-get
|
|
100
|
+
* @param params
|
|
97
101
|
*/
|
|
98
102
|
getLabelsForSpace: ({ spaceKey, prefix, start, limit, }: {
|
|
99
103
|
/** The key of the space to get labels for. */
|
|
@@ -117,5 +121,5 @@ export declare class ExperimentalService extends CommonHttpService {
|
|
|
117
121
|
*/
|
|
118
122
|
limit?: number | undefined;
|
|
119
123
|
}) => Promise<LabelArray>;
|
|
120
|
-
static initialize(): void;
|
|
124
|
+
protected static initialize(): void;
|
|
121
125
|
}
|
|
@@ -33,10 +33,11 @@ class ExperimentalService extends CommonHttpService_1.CommonHttpService {
|
|
|
33
33
|
* Permission to update the content.
|
|
34
34
|
*
|
|
35
35
|
* @returns Returned if the labels are added to the content.
|
|
36
|
-
* @path
|
|
36
|
+
* @path POST `/wiki/rest/api/space/{spaceKey}/label`
|
|
37
37
|
* @scopes-current write:confluence-space
|
|
38
38
|
* @scopes-beta read:label:confluence, write:label:confluence
|
|
39
39
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-experimental#api-wiki-rest-api-space-spacekey-label-post
|
|
40
|
+
* @param params
|
|
40
41
|
*/
|
|
41
42
|
this.addLabelsToSpace = ({ spaceKey, labelCreates, }) => {
|
|
42
43
|
return this.getClientInstance()
|
|
@@ -61,10 +62,11 @@ class ExperimentalService extends CommonHttpService_1.CommonHttpService {
|
|
|
61
62
|
.then(commonHttpClient.getBody);
|
|
62
63
|
};
|
|
63
64
|
/**
|
|
64
|
-
* @path
|
|
65
|
+
* @path DELETE `/wiki/rest/api/space/{spaceKey}/label`
|
|
65
66
|
* @scopes-current write:confluence-space
|
|
66
67
|
* @scopes-beta write:label:confluence
|
|
67
68
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-experimental#api-wiki-rest-api-space-spacekey-label-delete
|
|
69
|
+
* @param params
|
|
68
70
|
*/
|
|
69
71
|
this.deleteLabelFromSpace = ({ spaceKey, name, prefix, }) => {
|
|
70
72
|
return this.getClientInstance()
|
|
@@ -94,25 +96,26 @@ class ExperimentalService extends CommonHttpService_1.CommonHttpService {
|
|
|
94
96
|
* The delete process happens asynchronously.
|
|
95
97
|
*
|
|
96
98
|
* Response example:
|
|
97
|
-
*
|
|
99
|
+
* ```
|
|
98
100
|
* {
|
|
99
101
|
* "id" : "1180606",
|
|
100
102
|
* "links" : {
|
|
101
103
|
* "status" : "/rest/api/longtask/1180606"
|
|
102
104
|
* }
|
|
103
105
|
* }
|
|
104
|
-
*
|
|
106
|
+
*
|
|
107
|
+
* ```
|
|
105
108
|
* Use the `/longtask/<taskId>` REST API to get the copy task status.
|
|
106
109
|
*
|
|
107
110
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
108
111
|
* 'Delete' permission for the space that the content is in.
|
|
109
112
|
*
|
|
110
|
-
* @returns Returned if the request to trash content and all its current page descendants,
|
|
111
|
-
*
|
|
112
|
-
* @path {DELETE} /wiki/rest/api/content/{id}/pageTree
|
|
113
|
+
* @returns Returned if the request to trash content and all its current page descendants, is successfully accepted.
|
|
114
|
+
* @path DELETE `/wiki/rest/api/content/{id}/pageTree`
|
|
113
115
|
* @scopes-current write:confluence-content
|
|
114
116
|
* @scopes-beta delete:content:confluence
|
|
115
117
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-experimental#api-wiki-rest-api-content-id-pagetree-delete
|
|
118
|
+
* @param params
|
|
116
119
|
*/
|
|
117
120
|
this.deletePageTree = ({ id, }) => {
|
|
118
121
|
return this.getClientInstance()
|
|
@@ -138,10 +141,11 @@ class ExperimentalService extends CommonHttpService_1.CommonHttpService {
|
|
|
138
141
|
* select different types of labels.
|
|
139
142
|
*
|
|
140
143
|
* @returns Returned if the list of labels is returned.
|
|
141
|
-
* @path
|
|
144
|
+
* @path GET `/wiki/rest/api/space/{spaceKey}/label`
|
|
142
145
|
* @scopes-current read:confluence-space.summary
|
|
143
146
|
* @scopes-beta read:label:confluence
|
|
144
147
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-experimental#api-wiki-rest-api-space-spacekey-label-get
|
|
148
|
+
* @param params
|
|
145
149
|
*/
|
|
146
150
|
this.getLabelsForSpace = ({ spaceKey, prefix, start, limit, }) => {
|
|
147
151
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ExperimentalService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ExperimentalService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAK0B;AAC1B,wEAAqE;AACrE;;;;GAIG;AACH,MAAa,mBAAoB,SAAQ,qCAAiB;IAA1D;;QACE
|
|
1
|
+
{"version":3,"file":"ExperimentalService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ExperimentalService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAK0B;AAC1B,wEAAqE;AACrE;;;;GAIG;AACH,MAAa,mBAAoB,SAAQ,qCAAiB;IAA1D;;QACE;;;;;;;;;;;;;;;;;;;;;WAqBG;QACH,qBAAgB,GAAG,CAAC,EAClB,QAAQ,EACR,YAAY,GAMb,EAAuB,EAAE;YACxB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,uCAAuC;gBAC7C,MAAM,EAAE,MAAM;gBACd,UAAU,EAAE;oBACV,QAAQ;iBACT;gBACD,OAAO,EAAE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