@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
|
@@ -13,11 +13,11 @@ export declare class ContentRestrictionsService extends CommonHttpService {
|
|
|
13
13
|
* Permission to edit the content.
|
|
14
14
|
*
|
|
15
15
|
* @deprecated
|
|
16
|
-
* @path {
|
|
17
|
-
* /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/group/{groupName}
|
|
16
|
+
* @path PUT `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/group/{groupName}`
|
|
18
17
|
* @scopes-current write:confluence-content
|
|
19
18
|
* @scopes-beta write:content.restriction:confluence
|
|
20
19
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-group-groupname-put
|
|
20
|
+
* @param params
|
|
21
21
|
*/
|
|
22
22
|
addGroupToContentRestriction: ({ id, operationKey, groupName, }: {
|
|
23
23
|
/** The ID of the content that the restriction applies to. */
|
|
@@ -34,11 +34,11 @@ export declare class ContentRestrictionsService extends CommonHttpService {
|
|
|
34
34
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
35
35
|
* Permission to edit the content.
|
|
36
36
|
*
|
|
37
|
-
* @path {
|
|
38
|
-
* /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId}
|
|
37
|
+
* @path PUT `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId}`
|
|
39
38
|
* @scopes-current write:confluence-content
|
|
40
39
|
* @scopes-beta write:content.restriction:confluence
|
|
41
40
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-bygroupid-groupid-put
|
|
41
|
+
* @param params
|
|
42
42
|
*/
|
|
43
43
|
addGroupToContentRestrictionByGroupId: ({ id, operationKey, groupId, }: {
|
|
44
44
|
/** The ID of the content that the restriction applies to. */
|
|
@@ -56,10 +56,11 @@ export declare class ContentRestrictionsService extends CommonHttpService {
|
|
|
56
56
|
* Permission to edit the content.
|
|
57
57
|
*
|
|
58
58
|
* @returns Returned if the requested restrictions are added.
|
|
59
|
-
* @path
|
|
59
|
+
* @path POST `/wiki/rest/api/content/{id}/restriction`
|
|
60
60
|
* @scopes-current write:confluence-content
|
|
61
61
|
* @scopes-beta read:content-details:confluence, write:content.restriction:confluence
|
|
62
62
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-post
|
|
63
|
+
* @param params
|
|
63
64
|
*/
|
|
64
65
|
addRestrictions: ({ id, expand, contentRestrictionAddOrUpdateArray, }: {
|
|
65
66
|
/** The ID of the content to add restrictions to. */
|
|
@@ -86,10 +87,11 @@ export declare class ContentRestrictionsService extends CommonHttpService {
|
|
|
86
87
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
87
88
|
* Permission to edit the content.
|
|
88
89
|
*
|
|
89
|
-
* @path
|
|
90
|
+
* @path PUT `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/user`
|
|
90
91
|
* @scopes-current write:confluence-content
|
|
91
92
|
* @scopes-beta write:content.restriction:confluence
|
|
92
93
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-user-put
|
|
94
|
+
* @param params
|
|
93
95
|
*/
|
|
94
96
|
addUserToContentRestriction: ({ id, operationKey, key, username, accountId, }: {
|
|
95
97
|
/** The ID of the content that the restriction applies to. */
|
|
@@ -132,10 +134,11 @@ export declare class ContentRestrictionsService extends CommonHttpService {
|
|
|
132
134
|
* Permission to edit the content.
|
|
133
135
|
*
|
|
134
136
|
* @returns Returned if the restrictions are removed.
|
|
135
|
-
* @path
|
|
137
|
+
* @path DELETE `/wiki/rest/api/content/{id}/restriction`
|
|
136
138
|
* @scopes-current write:confluence-content
|
|
137
139
|
* @scopes-beta read:content-details:confluence, write:content.restriction:confluence
|
|
138
140
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-delete
|
|
141
|
+
* @param params
|
|
139
142
|
*/
|
|
140
143
|
deleteRestrictions: ({ id, expand, }: {
|
|
141
144
|
/** The ID of the content to remove restrictions from. */
|
|
@@ -174,11 +177,11 @@ export declare class ContentRestrictionsService extends CommonHttpService {
|
|
|
174
177
|
* Permission to view the content.
|
|
175
178
|
*
|
|
176
179
|
* @deprecated
|
|
177
|
-
* @path {
|
|
178
|
-
* /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/group/{groupName}
|
|
180
|
+
* @path GET `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/group/{groupName}`
|
|
179
181
|
* @scopes-current read:confluence-content.all
|
|
180
182
|
* @scopes-beta read:content.restriction:confluence
|
|
181
183
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-group-groupname-get
|
|
184
|
+
* @param params
|
|
182
185
|
*/
|
|
183
186
|
getContentRestrictionStatusForGroup: ({ id, operationKey, groupName, }: {
|
|
184
187
|
/** The ID of the content that the restriction applies to. */
|
|
@@ -210,10 +213,11 @@ export declare class ContentRestrictionsService extends CommonHttpService {
|
|
|
210
213
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
211
214
|
* Permission to view the content.
|
|
212
215
|
*
|
|
213
|
-
* @path
|
|
216
|
+
* @path GET `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/user`
|
|
214
217
|
* @scopes-current read:confluence-content.all
|
|
215
218
|
* @scopes-beta read:content.restriction:confluence
|
|
216
219
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-user-get
|
|
220
|
+
* @param params
|
|
217
221
|
*/
|
|
218
222
|
getContentRestrictionStatusForUser: ({ id, operationKey, key, username, accountId, }: {
|
|
219
223
|
/** The ID of the content that the restriction applies to. */
|
|
@@ -267,11 +271,11 @@ export declare class ContentRestrictionsService extends CommonHttpService {
|
|
|
267
271
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
268
272
|
* Permission to view the content.
|
|
269
273
|
*
|
|
270
|
-
* @path {
|
|
271
|
-
* /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId}
|
|
274
|
+
* @path GET `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId}`
|
|
272
275
|
* @scopes-current read:confluence-content.all
|
|
273
276
|
* @scopes-beta read:content.restriction:confluence
|
|
274
277
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-bygroupid-groupid-get
|
|
278
|
+
* @param params
|
|
275
279
|
*/
|
|
276
280
|
getIndividualGroupRestrictionStatusByGroupId: ({ id, operationKey, groupId, }: {
|
|
277
281
|
/** The ID of the content that the restriction applies to. */
|
|
@@ -291,10 +295,11 @@ export declare class ContentRestrictionsService extends CommonHttpService {
|
|
|
291
295
|
* Permission to view the content.
|
|
292
296
|
*
|
|
293
297
|
* @returns Returned if the requested restrictions are returned.
|
|
294
|
-
* @path
|
|
298
|
+
* @path GET `/wiki/rest/api/content/{id}/restriction`
|
|
295
299
|
* @scopes-current read:confluence-content.all
|
|
296
300
|
* @scopes-beta read:content-details:confluence
|
|
297
301
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-get
|
|
302
|
+
* @param params
|
|
298
303
|
*/
|
|
299
304
|
getRestrictions: ({ id, expand, start, limit, }: {
|
|
300
305
|
/** The ID of the content to be queried for its restrictions. */
|
|
@@ -331,10 +336,11 @@ export declare class ContentRestrictionsService extends CommonHttpService {
|
|
|
331
336
|
* Permission to view the content.
|
|
332
337
|
*
|
|
333
338
|
* @returns Returned if the requested restrictions are returned.
|
|
334
|
-
* @path
|
|
339
|
+
* @path GET `/wiki/rest/api/content/{id}/restriction/byOperation`
|
|
335
340
|
* @scopes-current read:confluence-content.all
|
|
336
341
|
* @scopes-beta read:content-details:confluence
|
|
337
342
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-get
|
|
343
|
+
* @param params
|
|
338
344
|
*/
|
|
339
345
|
getRestrictionsByOperation: ({ id, expand, }: {
|
|
340
346
|
/** The ID of the content to be queried for its restrictions. */
|
|
@@ -362,10 +368,11 @@ export declare class ContentRestrictionsService extends CommonHttpService {
|
|
|
362
368
|
* Permission to view the content.
|
|
363
369
|
*
|
|
364
370
|
* @returns Returned if the requested restrictions are returned.
|
|
365
|
-
* @path
|
|
371
|
+
* @path GET `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}`
|
|
366
372
|
* @scopes-current read:confluence-content.all
|
|
367
373
|
* @scopes-beta read:content-details:confluence
|
|
368
374
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-get
|
|
375
|
+
* @param params
|
|
369
376
|
*/
|
|
370
377
|
getRestrictionsForOperation: ({ id, operationKey, expand, start, limit, }: {
|
|
371
378
|
/** The ID of the content to be queried for its restrictions. */
|
|
@@ -400,11 +407,11 @@ export declare class ContentRestrictionsService extends CommonHttpService {
|
|
|
400
407
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
401
408
|
* Permission to edit the content.
|
|
402
409
|
*
|
|
403
|
-
* @path {
|
|
404
|
-
* /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId}
|
|
410
|
+
* @path DELETE `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId}`
|
|
405
411
|
* @scopes-current write:confluence-content
|
|
406
412
|
* @scopes-beta write:content.restriction:confluence
|
|
407
413
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-bygroupid-groupid-delete
|
|
414
|
+
* @param params
|
|
408
415
|
*/
|
|
409
416
|
removeGroupFromContentRestriction: ({ id, operationKey, groupId, }: {
|
|
410
417
|
/** The ID of the content that the restriction applies to. */
|
|
@@ -424,11 +431,11 @@ export declare class ContentRestrictionsService extends CommonHttpService {
|
|
|
424
431
|
* Permission to edit the content.
|
|
425
432
|
*
|
|
426
433
|
* @deprecated
|
|
427
|
-
* @path {
|
|
428
|
-
* /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/group/{groupName}
|
|
434
|
+
* @path DELETE `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/group/{groupName}`
|
|
429
435
|
* @scopes-current write:confluence-content
|
|
430
436
|
* @scopes-beta write:content.restriction:confluence
|
|
431
437
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-group-groupname-delete
|
|
438
|
+
* @param params
|
|
432
439
|
*/
|
|
433
440
|
removeGroupFromContentRestrictionById: ({ id, operationKey, groupName, }: {
|
|
434
441
|
/** The ID of the content that the restriction applies to. */
|
|
@@ -445,10 +452,11 @@ export declare class ContentRestrictionsService extends CommonHttpService {
|
|
|
445
452
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
446
453
|
* Permission to edit the content.
|
|
447
454
|
*
|
|
448
|
-
* @path
|
|
455
|
+
* @path DELETE `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/user`
|
|
449
456
|
* @scopes-current write:confluence-content
|
|
450
457
|
* @scopes-beta write:content.restriction:confluence
|
|
451
458
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-user-delete
|
|
459
|
+
* @param params
|
|
452
460
|
*/
|
|
453
461
|
removeUserFromContentRestriction: ({ id, operationKey, key, username, accountId, }: {
|
|
454
462
|
/** The ID of the content that the restriction applies to. */
|
|
@@ -492,10 +500,11 @@ export declare class ContentRestrictionsService extends CommonHttpService {
|
|
|
492
500
|
* Permission to edit the content.
|
|
493
501
|
*
|
|
494
502
|
* @returns Returned if the requested restrictions are updated.
|
|
495
|
-
* @path
|
|
503
|
+
* @path PUT `/wiki/rest/api/content/{id}/restriction`
|
|
496
504
|
* @scopes-current write:confluence-content
|
|
497
505
|
* @scopes-beta read:content-details:confluence, write:content.restriction:confluence
|
|
498
506
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-put
|
|
507
|
+
* @param params
|
|
499
508
|
*/
|
|
500
509
|
updateRestrictions: ({ id, expand, contentRestrictionAddOrUpdateArray, }: {
|
|
501
510
|
/** The ID of the content to update restrictions for. */
|
|
@@ -515,5 +524,5 @@ export declare class ContentRestrictionsService extends CommonHttpService {
|
|
|
515
524
|
/** The updated restrictions for the content. */
|
|
516
525
|
contentRestrictionAddOrUpdateArray: ContentRestrictionAddOrUpdateArray;
|
|
517
526
|
}) => Promise<ContentRestrictionArray>;
|
|
518
|
-
static initialize(): void;
|
|
527
|
+
protected static initialize(): void;
|
|
519
528
|
}
|
|
@@ -24,11 +24,11 @@ class ContentRestrictionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
24
24
|
* Permission to edit the content.
|
|
25
25
|
*
|
|
26
26
|
* @deprecated
|
|
27
|
-
* @path {
|
|
28
|
-
* /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/group/{groupName}
|
|
27
|
+
* @path PUT `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/group/{groupName}`
|
|
29
28
|
* @scopes-current write:confluence-content
|
|
30
29
|
* @scopes-beta write:content.restriction:confluence
|
|
31
30
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-group-groupname-put
|
|
31
|
+
* @param params
|
|
32
32
|
*/
|
|
33
33
|
this.addGroupToContentRestriction = ({ id, operationKey, groupName, }) => {
|
|
34
34
|
return this.getClientInstance()
|
|
@@ -50,11 +50,11 @@ class ContentRestrictionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
50
50
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
51
51
|
* Permission to edit the content.
|
|
52
52
|
*
|
|
53
|
-
* @path {
|
|
54
|
-
* /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId}
|
|
53
|
+
* @path PUT `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId}`
|
|
55
54
|
* @scopes-current write:confluence-content
|
|
56
55
|
* @scopes-beta write:content.restriction:confluence
|
|
57
56
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-bygroupid-groupid-put
|
|
57
|
+
* @param params
|
|
58
58
|
*/
|
|
59
59
|
this.addGroupToContentRestrictionByGroupId = ({ id, operationKey, groupId, }) => {
|
|
60
60
|
return this.getClientInstance()
|
|
@@ -77,10 +77,11 @@ class ContentRestrictionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
77
77
|
* Permission to edit the content.
|
|
78
78
|
*
|
|
79
79
|
* @returns Returned if the requested restrictions are added.
|
|
80
|
-
* @path
|
|
80
|
+
* @path POST `/wiki/rest/api/content/{id}/restriction`
|
|
81
81
|
* @scopes-current write:confluence-content
|
|
82
82
|
* @scopes-beta read:content-details:confluence, write:content.restriction:confluence
|
|
83
83
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-post
|
|
84
|
+
* @param params
|
|
84
85
|
*/
|
|
85
86
|
this.addRestrictions = ({ id, expand, contentRestrictionAddOrUpdateArray, }) => {
|
|
86
87
|
return this.getClientInstance()
|
|
@@ -114,10 +115,11 @@ class ContentRestrictionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
114
115
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
115
116
|
* Permission to edit the content.
|
|
116
117
|
*
|
|
117
|
-
* @path
|
|
118
|
+
* @path PUT `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/user`
|
|
118
119
|
* @scopes-current write:confluence-content
|
|
119
120
|
* @scopes-beta write:content.restriction:confluence
|
|
120
121
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-user-put
|
|
122
|
+
* @param params
|
|
121
123
|
*/
|
|
122
124
|
this.addUserToContentRestriction = ({ id, operationKey, key, username, accountId, }) => {
|
|
123
125
|
return this.getClientInstance()
|
|
@@ -143,10 +145,11 @@ class ContentRestrictionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
143
145
|
* Permission to edit the content.
|
|
144
146
|
*
|
|
145
147
|
* @returns Returned if the restrictions are removed.
|
|
146
|
-
* @path
|
|
148
|
+
* @path DELETE `/wiki/rest/api/content/{id}/restriction`
|
|
147
149
|
* @scopes-current write:confluence-content
|
|
148
150
|
* @scopes-beta read:content-details:confluence, write:content.restriction:confluence
|
|
149
151
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-delete
|
|
152
|
+
* @param params
|
|
150
153
|
*/
|
|
151
154
|
this.deleteRestrictions = ({ id, expand, }) => {
|
|
152
155
|
return this.getClientInstance()
|
|
@@ -190,11 +193,11 @@ class ContentRestrictionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
190
193
|
* Permission to view the content.
|
|
191
194
|
*
|
|
192
195
|
* @deprecated
|
|
193
|
-
* @path {
|
|
194
|
-
* /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/group/{groupName}
|
|
196
|
+
* @path GET `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/group/{groupName}`
|
|
195
197
|
* @scopes-current read:confluence-content.all
|
|
196
198
|
* @scopes-beta read:content.restriction:confluence
|
|
197
199
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-group-groupname-get
|
|
200
|
+
* @param params
|
|
198
201
|
*/
|
|
199
202
|
this.getContentRestrictionStatusForGroup = ({ id, operationKey, groupName, }) => {
|
|
200
203
|
return this.getClientInstance()
|
|
@@ -228,10 +231,11 @@ class ContentRestrictionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
228
231
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
229
232
|
* Permission to view the content.
|
|
230
233
|
*
|
|
231
|
-
* @path
|
|
234
|
+
* @path GET `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/user`
|
|
232
235
|
* @scopes-current read:confluence-content.all
|
|
233
236
|
* @scopes-beta read:content.restriction:confluence
|
|
234
237
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-user-get
|
|
238
|
+
* @param params
|
|
235
239
|
*/
|
|
236
240
|
this.getContentRestrictionStatusForUser = ({ id, operationKey, key, username, accountId, }) => {
|
|
237
241
|
return this.getClientInstance()
|
|
@@ -268,11 +272,11 @@ class ContentRestrictionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
268
272
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
269
273
|
* Permission to view the content.
|
|
270
274
|
*
|
|
271
|
-
* @path {
|
|
272
|
-
* /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId}
|
|
275
|
+
* @path GET `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId}`
|
|
273
276
|
* @scopes-current read:confluence-content.all
|
|
274
277
|
* @scopes-beta read:content.restriction:confluence
|
|
275
278
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-bygroupid-groupid-get
|
|
279
|
+
* @param params
|
|
276
280
|
*/
|
|
277
281
|
this.getIndividualGroupRestrictionStatusByGroupId = ({ id, operationKey, groupId, }) => {
|
|
278
282
|
return this.getClientInstance()
|
|
@@ -294,10 +298,11 @@ class ContentRestrictionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
294
298
|
* Permission to view the content.
|
|
295
299
|
*
|
|
296
300
|
* @returns Returned if the requested restrictions are returned.
|
|
297
|
-
* @path
|
|
301
|
+
* @path GET `/wiki/rest/api/content/{id}/restriction`
|
|
298
302
|
* @scopes-current read:confluence-content.all
|
|
299
303
|
* @scopes-beta read:content-details:confluence
|
|
300
304
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-get
|
|
305
|
+
* @param params
|
|
301
306
|
*/
|
|
302
307
|
this.getRestrictions = ({ id, expand, start, limit, }) => {
|
|
303
308
|
return this.getClientInstance()
|
|
@@ -332,10 +337,11 @@ class ContentRestrictionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
332
337
|
* Permission to view the content.
|
|
333
338
|
*
|
|
334
339
|
* @returns Returned if the requested restrictions are returned.
|
|
335
|
-
* @path
|
|
340
|
+
* @path GET `/wiki/rest/api/content/{id}/restriction/byOperation`
|
|
336
341
|
* @scopes-current read:confluence-content.all
|
|
337
342
|
* @scopes-beta read:content-details:confluence
|
|
338
343
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-get
|
|
344
|
+
* @param params
|
|
339
345
|
*/
|
|
340
346
|
this.getRestrictionsByOperation = ({ id, expand, }) => {
|
|
341
347
|
return this.getClientInstance()
|
|
@@ -366,10 +372,11 @@ class ContentRestrictionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
366
372
|
* Permission to view the content.
|
|
367
373
|
*
|
|
368
374
|
* @returns Returned if the requested restrictions are returned.
|
|
369
|
-
* @path
|
|
375
|
+
* @path GET `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}`
|
|
370
376
|
* @scopes-current read:confluence-content.all
|
|
371
377
|
* @scopes-beta read:content-details:confluence
|
|
372
378
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-get
|
|
379
|
+
* @param params
|
|
373
380
|
*/
|
|
374
381
|
this.getRestrictionsForOperation = ({ id, operationKey, expand, start, limit, }) => {
|
|
375
382
|
return this.getClientInstance()
|
|
@@ -402,11 +409,11 @@ class ContentRestrictionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
402
409
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
403
410
|
* Permission to edit the content.
|
|
404
411
|
*
|
|
405
|
-
* @path {
|
|
406
|
-
* /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId}
|
|
412
|
+
* @path DELETE `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/byGroupId/{groupId}`
|
|
407
413
|
* @scopes-current write:confluence-content
|
|
408
414
|
* @scopes-beta write:content.restriction:confluence
|
|
409
415
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-bygroupid-groupid-delete
|
|
416
|
+
* @param params
|
|
410
417
|
*/
|
|
411
418
|
this.removeGroupFromContentRestriction = ({ id, operationKey, groupId, }) => {
|
|
412
419
|
return this.getClientInstance()
|
|
@@ -431,11 +438,11 @@ class ContentRestrictionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
431
438
|
* Permission to edit the content.
|
|
432
439
|
*
|
|
433
440
|
* @deprecated
|
|
434
|
-
* @path {
|
|
435
|
-
* /wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/group/{groupName}
|
|
441
|
+
* @path DELETE `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/group/{groupName}`
|
|
436
442
|
* @scopes-current write:confluence-content
|
|
437
443
|
* @scopes-beta write:content.restriction:confluence
|
|
438
444
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-group-groupname-delete
|
|
445
|
+
* @param params
|
|
439
446
|
*/
|
|
440
447
|
this.removeGroupFromContentRestrictionById = ({ id, operationKey, groupName, }) => {
|
|
441
448
|
return this.getClientInstance()
|
|
@@ -457,10 +464,11 @@ class ContentRestrictionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
457
464
|
* **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**:
|
|
458
465
|
* Permission to edit the content.
|
|
459
466
|
*
|
|
460
|
-
* @path
|
|
467
|
+
* @path DELETE `/wiki/rest/api/content/{id}/restriction/byOperation/{operationKey}/user`
|
|
461
468
|
* @scopes-current write:confluence-content
|
|
462
469
|
* @scopes-beta write:content.restriction:confluence
|
|
463
470
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-byoperation-operationkey-user-delete
|
|
471
|
+
* @param params
|
|
464
472
|
*/
|
|
465
473
|
this.removeUserFromContentRestriction = ({ id, operationKey, key, username, accountId, }) => {
|
|
466
474
|
return this.getClientInstance()
|
|
@@ -487,10 +495,11 @@ class ContentRestrictionsService extends CommonHttpService_1.CommonHttpService {
|
|
|
487
495
|
* Permission to edit the content.
|
|
488
496
|
*
|
|
489
497
|
* @returns Returned if the requested restrictions are updated.
|
|
490
|
-
* @path
|
|
498
|
+
* @path PUT `/wiki/rest/api/content/{id}/restriction`
|
|
491
499
|
* @scopes-current write:confluence-content
|
|
492
500
|
* @scopes-beta read:content-details:confluence, write:content.restriction:confluence
|
|
493
501
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content-restrictions#api-wiki-rest-api-content-id-restriction-put
|
|
502
|
+
* @param params
|
|
494
503
|
*/
|
|
495
504
|
this.updateRestrictions = ({ id, expand, contentRestrictionAddOrUpdateArray, }) => {
|
|
496
505
|
return this.getClientInstance()
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"ContentRestrictionsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentRestrictionsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAG0B;AAC1B,uEAIuC;AACvC,wEAAqE;AACrE,mGAAmG;AACnG,MAAa,0BAA2B,SAAQ,qCAAiB;IAAjE;;QACE;;;;;;;;;;;;;;;WAeG;QACH,iCAA4B,GAAG,CAAC,EAC9B,EAAE,EACF,YAAY,EACZ,SAAS,GAQV,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,sFAAsF;gBAC5F,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,EAAE;oBACF,YAAY;oBACZ,SAAS;iBACV;aACF,CAAC;iBACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;QACF;;;;;;;;;;;;WAYG;QACH,0CAAqC,GAAG,CAAC,EACvC,EAAE,EACF,YAAY,EACZ,OAAO,GAQR,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,wFAAwF;gBAC9F,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,EAAE;oBACF,YAAY;oBACZ,OAAO;iBACR;aACF,CAAC;iBACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,CAAC;QAC1C,CAAC,CAAC;QACF
|
|
1
|
+
{"version":3,"file":"ContentRestrictionsService.js","sourceRoot":"","sources":["../../../../src/openapi/v1/services/ContentRestrictionsService.ts"],"names":[],"mappings":";;;AAAA,eAAe;AACf,wDAAwD;AACxD,gDAAgD;AAChD,6BAAwB;AAExB,6DAA6D;AAC7D,iEAA8D;AAC9D,6CAG0B;AAC1B,uEAIuC;AACvC,wEAAqE;AACrE,mGAAmG;AACnG,MAAa,0BAA2B,SAAQ,qCAAiB;IAAjE;;QACE;;;;;;;;;;;;;;;WAeG;QACH,iCAA4B,GAAG,CAAC,EAC9B,EAAE,EACF,YAAY,EACZ,SAAS,GAQV,EAAiB,EAAE;YAClB,OAAO,IAAI,CAAC,iBAAiB,EAAE;iBAC5B,OAAO,CAAC;gBACP,IAAI,EAAE,sFAAsF;gBAC5F,MAAM,EAAE,KAAK;gBACb,UAAU,EAAE;oBACV,EAAE;oBACF,YAAY;oBACZ,SAAS;iBACV;aACF,CAAC;iBACD,IAAI,CAAC,gBAAgB,CAAC,aAAa,CAAC,C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CACjE,CACJ,CAAC;QACF,iDAAuB,CAAC,kBAAkB,CACxC,iEAAiE,EACjE,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,oBAAoB,CAAC;SACzD,CAAC;aACD,QAAQ,CACP,iEAAiE,CAClE,CACJ,CAAC;QACF,iDAAuB,CAAC,YAAY,CAAC;YACnC,kEAA4C;YAC5C,wCAA+B;SAChC,CAAC,CAAC;IACL,CAAC;CACF;AA1/BD,gEA0/BC"}
|
|
@@ -19,10 +19,11 @@ export declare class ContentService extends CommonHttpService {
|
|
|
19
19
|
* belongs to.
|
|
20
20
|
*
|
|
21
21
|
* @returns Returned if the archive request has been submitted.
|
|
22
|
-
* @path
|
|
22
|
+
* @path POST `/wiki/rest/api/content/archive`
|
|
23
23
|
* @scopes-current write:confluence-content
|
|
24
24
|
* @scopes-beta read:content.metadata:confluence, write:page:confluence
|
|
25
25
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-archive-post
|
|
26
|
+
* @param params
|
|
26
27
|
*/
|
|
27
28
|
archivePages: ({ requestBody, }: {
|
|
28
29
|
/** The pages to be archived. */
|
|
@@ -59,10 +60,11 @@ export declare class ContentService extends CommonHttpService {
|
|
|
59
60
|
*
|
|
60
61
|
* @deprecated
|
|
61
62
|
* @returns Returned if the content is created.
|
|
62
|
-
* @path
|
|
63
|
+
* @path POST `/wiki/rest/api/content`
|
|
63
64
|
* @scopes-current write:confluence-content
|
|
64
65
|
* @scopes-beta read:content-details:confluence, write:content:confluence
|
|
65
66
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-post
|
|
67
|
+
* @param params
|
|
66
68
|
*/
|
|
67
69
|
createContent: ({ status, expand, contentCreate, }: {
|
|
68
70
|
/** Filter the returned content by status. */
|
|
@@ -198,10 +200,11 @@ export declare class ContentService extends CommonHttpService {
|
|
|
198
200
|
* 'Delete' permission for the space that the content is in.
|
|
199
201
|
*
|
|
200
202
|
* @deprecated
|
|
201
|
-
* @path
|
|
203
|
+
* @path DELETE `/wiki/rest/api/content/{id}`
|
|
202
204
|
* @scopes-current write:confluence-content
|
|
203
205
|
* @scopes-beta delete:content:confluence
|
|
204
206
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-id-delete
|
|
207
|
+
* @param params
|
|
205
208
|
*/
|
|
206
209
|
deleteContent: ({ id, status, }: {
|
|
207
210
|
/** The ID of the content to be deleted. */
|
|
@@ -230,10 +233,11 @@ export declare class ContentService extends CommonHttpService {
|
|
|
230
233
|
*
|
|
231
234
|
* @deprecated
|
|
232
235
|
* @returns Returned if the requested list of content is returned.
|
|
233
|
-
* @path
|
|
236
|
+
* @path GET `/wiki/rest/api/content`
|
|
234
237
|
* @scopes-current read:confluence-content.summary
|
|
235
238
|
* @scopes-beta read:content-details:confluence
|
|
236
239
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-get
|
|
240
|
+
* @param params
|
|
237
241
|
*/
|
|
238
242
|
getContent: ({ type, spaceKey, title, status, postingDay, expand, trigger, orderby, start, limit, }?: {
|
|
239
243
|
/**
|
|
@@ -389,10 +393,11 @@ export declare class ContentService extends CommonHttpService {
|
|
|
389
393
|
*
|
|
390
394
|
* @deprecated
|
|
391
395
|
* @returns Returned if the requested content is returned.
|
|
392
|
-
* @path
|
|
396
|
+
* @path GET `/wiki/rest/api/content/{id}`
|
|
393
397
|
* @scopes-current read:confluence-content.summary
|
|
394
398
|
* @scopes-beta read:content-details:confluence
|
|
395
399
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-id-get
|
|
400
|
+
* @param params
|
|
396
401
|
*/
|
|
397
402
|
getContentById: ({ id, status, version, embeddedContentRender, expand, trigger, }: {
|
|
398
403
|
/**
|
|
@@ -531,10 +536,11 @@ export declare class ContentService extends CommonHttpService {
|
|
|
531
536
|
*
|
|
532
537
|
* @deprecated
|
|
533
538
|
* @returns Returned if the requested content history is returned.
|
|
534
|
-
* @path
|
|
539
|
+
* @path GET `/wiki/rest/api/content/{id}/history`
|
|
535
540
|
* @scopes-current read:confluence-content.summary
|
|
536
541
|
* @scopes-beta read:content.metadata:confluence, read:user:confluence
|
|
537
542
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-id-history-get
|
|
543
|
+
* @param params
|
|
538
544
|
*/
|
|
539
545
|
getHistoryForContent: ({ id, expand, }: {
|
|
540
546
|
/** The ID of the content to be queried for its history. */
|
|
@@ -568,10 +574,11 @@ export declare class ContentService extends CommonHttpService {
|
|
|
568
574
|
* the content will be created in.
|
|
569
575
|
*
|
|
570
576
|
* @returns Returned if the draft was successfully published.
|
|
571
|
-
* @path
|
|
577
|
+
* @path POST `/wiki/rest/api/content/blueprint/instance/{draftId}`
|
|
572
578
|
* @scopes-current write:confluence-content
|
|
573
579
|
* @scopes-beta read:content-details:confluence, write:content:confluence
|
|
574
580
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-blueprint-instance-draftid-post
|
|
581
|
+
* @param params
|
|
575
582
|
*/
|
|
576
583
|
publishLegacyDraft: ({ draftId, status, expand, contentBlueprintDraft, }: {
|
|
577
584
|
/**
|
|
@@ -693,10 +700,11 @@ export declare class ContentService extends CommonHttpService {
|
|
|
693
700
|
* the content will be created in.
|
|
694
701
|
*
|
|
695
702
|
* @returns Returned if the draft was successfully published.
|
|
696
|
-
* @path
|
|
703
|
+
* @path PUT `/wiki/rest/api/content/blueprint/instance/{draftId}`
|
|
697
704
|
* @scopes-current write:confluence-content
|
|
698
705
|
* @scopes-beta read:content-details:confluence, write:content:confluence
|
|
699
706
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-blueprint-instance-draftid-put
|
|
707
|
+
* @param params
|
|
700
708
|
*/
|
|
701
709
|
publishSharedDraft: ({ draftId, status, expand, contentBlueprintDraft, }: {
|
|
702
710
|
/**
|
|
@@ -860,10 +868,11 @@ export declare class ContentService extends CommonHttpService {
|
|
|
860
868
|
* Only content that the user has permission to view will be returned.
|
|
861
869
|
*
|
|
862
870
|
* @returns Returned if the requested list of content is returned.
|
|
863
|
-
* @path
|
|
871
|
+
* @path GET `/wiki/rest/api/content/search`
|
|
864
872
|
* @scopes-current search:confluence
|
|
865
873
|
* @scopes-beta read:content-details:confluence
|
|
866
874
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-search-get
|
|
875
|
+
* @param params
|
|
867
876
|
*/
|
|
868
877
|
searchContentByCql: ({ cql, cqlcontext, expand, cursor, limit, }: {
|
|
869
878
|
/** The CQL string that is used to find the requested content. */
|
|
@@ -998,10 +1007,11 @@ export declare class ContentService extends CommonHttpService {
|
|
|
998
1007
|
*
|
|
999
1008
|
* @deprecated
|
|
1000
1009
|
* @returns Returned if the content is updated.
|
|
1001
|
-
* @path
|
|
1010
|
+
* @path PUT `/wiki/rest/api/content/{id}`
|
|
1002
1011
|
* @scopes-current write:confluence-content
|
|
1003
1012
|
* @scopes-beta read:content-details:confluence, write:content:confluence
|
|
1004
1013
|
* @see https://developer.atlassian.com/cloud/confluence/rest/v1/api-group-content#api-wiki-rest-api-content-id-put
|
|
1014
|
+
* @param params
|
|
1005
1015
|
*/
|
|
1006
1016
|
updateContent: ({ id, status, conflictPolicy, contentUpdate, }: {
|
|
1007
1017
|
/** The ID of the content to be updated. */
|
|
@@ -1019,5 +1029,5 @@ export declare class ContentService extends CommonHttpService {
|
|
|
1019
1029
|
/** The updated content. */
|
|
1020
1030
|
contentUpdate: ContentUpdate;
|
|
1021
1031
|
}) => Promise<Content | null>;
|
|
1022
|
-
static initialize(): void;
|
|
1032
|
+
protected static initialize(): void;
|
|
1023
1033
|
}
|