Klasse ConfluenceRESTV2AsyncConsumerApi
-
Konstruktorübersicht
Konstruktoren -
Methodenübersicht
Modifizierer und TypMethodeBeschreibungCheck site access for a list of emailsConvert content ids to content typesCreate content property for attachmentCreate blog postCreate content property for blog postCreate content property for commentCreate custom contentCreate content property for custom contentCreate footer commentCreate inline commentCreate pageCreate content property for pageCreate space property in spaceCreate whiteboardCreate content property for whiteboardDelete attachmentDelete content property for attachment by idDelete blog postDelete content property for blogpost by idDelete content property for comment by idDelete custom contentDelete content property for custom content by idDelete footer commentDelete inline commentDelete pageDelete content property for page by idDelete space property by idDelete whiteboardDelete content property for whiteboard by idGet attachment by idGet attachment commentsGet content properties for attachmentGet content property for attachment by idGet labels for attachmentGet permitted operations for attachmentGet attachmentsGet version details for attachment versionGet attachment versionsGet attachments for blog postGet blog post by idGet content properties for blog postGet content property for blog post by idGet footer comments for blog postGet inline comments for blog postGet labels for blog postGet like count for blog postGet account IDs of likes for blog postGet permitted operations for blog postGet blog postsGet blog posts in spaceGet version details for blog post versionGet blog post versionsGet child custom contentGet child pagesGet content properties for commentGet content property for comment by idGet attachments for custom contentGet custom content by idGet custom content by typeGet custom content by type in blog postGet custom content by type in pageGet custom content by type in spaceGet custom content commentsGet content properties for custom contentgetCustomContentContentPropertiesById(Consumer<GetCustomContentContentPropertiesByIdOperationSpec> spec) Get content property for custom content by idGet labels for custom contentGet permitted operations for custom contentGet version details for custom content versionGet custom content versionsGet data policy metadata for the workspace (EAP)Get spaces with data policies (EAP)Get footer comment by idGet children footer commentsGet permitted operations for footer commentGet footer commentsGet version details for footer comment versionGet footer comment versionsGet like count for footer commentGet account IDs of likes for footer commentGet inline comment by idGet children inline commentsGet permitted operations for inline commentGet inline commentsGet version details for inline comment versionGet inline comment versionsGet like count for inline commentGet account IDs of likes for inline commentGet attachments for labelGet blog posts for labelGet pages for labelGet labelsGet all ancestors of pageGet attachments for pageGet page by idGet content properties for pageGet content property for page by idGet footer comments for pageGet inline comments for pageGet labels for pageGet like count for pageGet account IDs of likes for pageGet permitted operations for pageGet pagesGet pages in spaceGet version details for page versionGet page versionsGet space by idGet labels for space contentGet labels for spaceGet permitted operations for spaceGet space permissionsGet space properties in spaceGet space property by idGet spacesGet task by idGet tasksGet all ancestors of the whiteboardGet whiteboard by idGet content properties for whiteboardGet content property for whiteboard by idGet permitted operations for a whiteboardInvite a list of emails to the siteUpdate content property for attachment by idUpdate blog postUpdate content property for blog post by idUpdate content property for comment by idUpdate custom contentUpdate content property for custom content by idUpdate footer commentUpdate inline commentUpdate pageUpdate content property for page by idUpdate space property by idUpdate taskUpdate content property for whiteboard by id
-
Konstruktordetails
-
ConfluenceRESTV2AsyncConsumerApi
-
-
Methodendetails
-
checkAccessByEmail
public CompletableFuture<CheckAccessByEmail200Response> checkAccessByEmail(Consumer<CheckAccessByEmailOperationSpec> spec) Check site access for a list of emailsReturns the list of emails from the input list that do not have access to site. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission).
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- checkAccessByEmailRequest:
-
convertContentIdsToContentTypes
public CompletableFuture<ContentIdToContentTypeResponse> convertContentIdsToContentTypes(Consumer<ConvertContentIdsToContentTypesOperationSpec> spec) Convert content ids to content typesConverts a list of content ids into their associated content types. This is useful for users migrating from v1 to v2 who may have stored just content ids without their associated type. This will return types as they should be used in v2. Notably, this will return
inline-commentfor inline comments andfooter-commentfor footer comments, which is distinct from them both being represented bycommentin v1. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the requested content. Any content that the user does not have permission to view or does not exist will map tonullin the response.- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- convertContentIdsToContentTypesRequest:
-
createAttachmentProperty
public CompletableFuture<ContentProperty> createAttachmentProperty(Consumer<CreateAttachmentPropertyOperationSpec> spec) Create content property for attachmentCreates a new content property for an attachment. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the attachment. Authentication - Required Scopes: [read:attachment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- attachmentId: The ID of the attachment to create a property for.
- contentPropertyCreateRequest: The content property to be created
-
createBlogPost
Create blog postCreates a new blog post in the space specified by the spaceId. By default this will create the blog post as a non-draft, unless the status is specified as draft. If creating a non-draft, the title must not be empty. Currently only supports the storage representation specified in the body.representation enums below Authentication - Required Scopes: [write:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- createBlogPostRequest:
- _private: The blog post will be private. Only the user who creates this blog post will have permission to view and edit one.
-
createBlogpostProperty
public CompletableFuture<ContentProperty> createBlogpostProperty(Consumer<CreateBlogpostPropertyOperationSpec> spec) Create content property for blog postCreates a new property for a blogpost. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the blog post. Authentication - Required Scopes: [read:page:confluence, write:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- blogpostId: The ID of the blog post to create a property for.
- contentPropertyCreateRequest: The content property to be created
-
createCommentProperty
public CompletableFuture<ContentProperty> createCommentProperty(Consumer<CreateCommentPropertyOperationSpec> spec) Create content property for commentCreates a new content property for a comment. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the comment. Authentication - Required Scopes: [read:comment:confluence, write:comment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- commentId: The ID of the comment to create a property for.
- contentPropertyCreateRequest: The content property to be created
-
createCustomContent
public CompletableFuture<CustomContentSingle> createCustomContent(Consumer<CreateCustomContentOperationSpec> spec) Create custom contentCreates a new custom content in the given space, page, blogpost or other custom content. Only one of
spaceId,pageId,blogPostId, orcustomContentIdis required in the request body. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page or blogpost and its corresponding space. Permission to create custom content in the space. Authentication - Required Scopes: [write:custom-content:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- createCustomContentRequest:
-
createCustomContentProperty
public CompletableFuture<ContentProperty> createCustomContentProperty(Consumer<CreateCustomContentPropertyOperationSpec> spec) Create content property for custom contentCreates a new content property for a piece of custom content. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the custom content. Authentication - Required Scopes: [read:custom-content:confluence, write:custom-content:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- customContentId: The ID of the custom content to create a property for.
- contentPropertyCreateRequest: The content property to be created
-
createInlineComment
public CompletableFuture<InlineCommentModel> createInlineComment(Consumer<CreateInlineCommentOperationSpec> spec) Create inline commentCreate an inline comment. This can be at the top level (specifying pageId or blogPostId in the request body) or as a reply (specifying parentCommentId in the request body). Note the inlineCommentProperties object in the request body is used to select the text the inline comment should be tied to. This is what determines the text highlighting when viewing a page in Confluence. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page or blogpost and its corresponding space. Permission to create comments in the space. Authentication - Required Scopes: [write:comment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- createInlineCommentModel: The inline comment to be created
-
createPage
Create pageCreates a page in the space. Pages are created as published by default unless specified as a draft in the status field. If creating a published page, the title must be specified. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the corresponding space. Permission to create a page in the space. Authentication - Required Scopes: [write:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- createPageRequest:
- embedded: Tag the content as embedded and content will be created in NCS.
- _private: The page will be private. Only the user who creates this page will have permission to view and edit one.
- rootLevel: The page will be created at the root level of the space (outside the space homepage tree).
-
createPageProperty
public CompletableFuture<ContentProperty> createPageProperty(Consumer<CreatePagePropertyOperationSpec> spec) Create content property for pageCreates a new content property for a page. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the page. Authentication - Required Scopes: [read:page:confluence, write:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- pageId: The ID of the page to create a property for.
- contentPropertyCreateRequest: The content property to be created
-
createSpaceProperty
public CompletableFuture<SpaceProperty> createSpaceProperty(Consumer<CreateSpacePropertyOperationSpec> spec) Create space property in spaceCreates a new space property. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission) and 'Admin' permission for the space. Authentication - Required Scopes: [read:space:confluence, write:space:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- spaceId: The ID of the space for which space properties should be returned.
- spacePropertyCreateRequest: The space property to be created
-
createWhiteboard
public CompletableFuture<WhiteboardSingle> createWhiteboard(Consumer<CreateWhiteboardOperationSpec> spec) Create whiteboardCreates a whiteboard in the space. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the corresponding space. Permission to create a whiteboard in the space. Authentication - Required Scopes: [write:whiteboard:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- createWhiteboardRequest:
- _private: The whiteboard will be private. Only the user who creates this whiteboard will have permission to view and edit one.
-
createWhiteboardProperty
public CompletableFuture<ContentProperty> createWhiteboardProperty(Consumer<CreateWhiteboardPropertyOperationSpec> spec) Create content property for whiteboardCreates a new content property for a whiteboard. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to update the whiteboard. Authentication - Required Scopes: [read:whiteboard:confluence, write:whiteboard:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the whiteboard to create a property for.
- contentPropertyCreateRequest: The content property to be created
-
deleteAttachment
Delete attachmentDelete an attachment by id. Deleting an attachment moves the attachment to the trash, where it can be restored later. To permanently delete an attachment (or "purge" it), the endpoint must be called on a **trashed** attachment with the following param
purge=true. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the container of the attachment. Permission to delete attachments in the space. Permission to administer the space (if attempting to purge).- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the attachment to be deleted.
- purge: If attempting to purge the attachment.
-
deleteAttachmentPropertyById
public CompletableFuture<Void> deleteAttachmentPropertyById(Consumer<DeleteAttachmentPropertyByIdOperationSpec> spec) Delete content property for attachment by idDeletes a content property for an attachment by its id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to attachment the page. Authentication - Required Scopes: [read:attachment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- attachmentId: The ID of the attachment the property belongs to.
- propertyId: The ID of the property to be deleted.
-
deleteBlogPost
Delete blog postDelete a blog post by id. By default this will delete blog posts that are non-drafts. To delete a blog post that is a draft, the endpoint must be called on a draft with the following param
draft=true. Discarded drafts are not sent to the trash and are permanently deleted. Deleting a blog post that is not a draft moves the blog post to the trash, where it can be restored later. To permanently delete a blog post (or "purge" it), the endpoint must be called on a **trashed** blog post with the following parampurge=true. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the blog post and its corresponding space. Permission to delete blog posts in the space. Permission to administer the space (if attempting to purge). Authentication - Required Scopes: [delete:page:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the blog post to be deleted.
- purge: If attempting to purge the blog post.
- draft: If attempting to delete a blog post that is a draft.
-
deleteBlogpostPropertyById
public CompletableFuture<Void> deleteBlogpostPropertyById(Consumer<DeleteBlogpostPropertyByIdOperationSpec> spec) Delete content property for blogpost by idDeletes a content property for a blogpost by its id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the blog post. Authentication - Required Scopes: [read:page:confluence, write:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- blogpostId: The ID of the blog post the property belongs to.
- propertyId: The ID of the property to be deleted.
-
deleteCommentPropertyById
public CompletableFuture<Void> deleteCommentPropertyById(Consumer<DeleteCommentPropertyByIdOperationSpec> spec) Delete content property for comment by idDeletes a content property for a comment by its id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the comment. Authentication - Required Scopes: [read:comment:confluence, write:comment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- commentId: The ID of the comment the property belongs to.
- propertyId: The ID of the property to be deleted.
-
deleteCustomContent
Delete custom contentDelete a custom content by id. Deleting a custom content will either move it to the trash or permanently delete it (purge it), depending on the apiSupport. To permanently delete a **trashed** custom content, the endpoint must be called with the following param
purge=true. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page or blogpost and its corresponding space. Permission to delete custom content in the space. Permission to administer the space (if attempting to purge). Authentication - Required Scopes: [delete:custom-content:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the custom content to be deleted.
- purge: If attempting to purge the custom content.
-
deleteCustomContentPropertyById
public CompletableFuture<Void> deleteCustomContentPropertyById(Consumer<DeleteCustomContentPropertyByIdOperationSpec> spec) Delete content property for custom content by idDeletes a content property for a piece of custom content by its id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the custom content. Authentication - Required Scopes: [read:custom-content:confluence, write:custom-content:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- customContentId: The ID of the custom content the property belongs to.
- propertyId: The ID of the property to be deleted.
-
deleteInlineComment
Delete inline commentDeletes an inline comment. This is a permanent deletion and cannot be reverted. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page or blogpost and its corresponding space. Permission to delete comments in the space. Authentication - Required Scopes: [delete:comment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- commentId: The ID of the comment to be deleted.
-
deletePage
Delete pageDelete a page by id. By default this will delete pages that are non-drafts. To delete a page that is a draft, the endpoint must be called on a draft with the following param
draft=true. Discarded drafts are not sent to the trash and are permanently deleted. Deleting a page moves the page to the trash, where it can be restored later. To permanently delete a page (or "purge" it), the endpoint must be called on a **trashed** page with the following parampurge=true. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the page and its corresponding space. Permission to delete pages in the space. Permission to administer the space (if attempting to purge). Authentication - Required Scopes: [delete:page:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the page to be deleted.
- purge: If attempting to purge the page.
- draft: If attempting to delete a page that is a draft.
-
deletePagePropertyById
public CompletableFuture<Void> deletePagePropertyById(Consumer<DeletePagePropertyByIdOperationSpec> spec) Delete content property for page by idDeletes a content property for a page by its id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the page. Authentication - Required Scopes: [read:page:confluence, write:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- pageId: The ID of the page the property belongs to.
- propertyId: The ID of the property to be deleted.
-
deleteSpacePropertyById
public CompletableFuture<Void> deleteSpacePropertyById(Consumer<DeleteSpacePropertyByIdOperationSpec> spec) Delete space property by idDeletes a space property by its id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission) and 'Admin' permission for the space. Authentication - Required Scopes: [read:space:confluence, write:space:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- spaceId: The ID of the space the property belongs to.
- propertyId: The ID of the property to be deleted.
-
deleteWhiteboard
Delete whiteboardDelete a whiteboard by id. Deleting a whiteboard moves the whiteboard to the trash, where it can be restored later **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the whiteboard and its corresponding space. Permission to delete whiteboards in the space. Authentication - Required Scopes: [delete:whiteboard:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the whiteboard to be deleted.
-
deleteWhiteboardPropertyById
public CompletableFuture<Void> deleteWhiteboardPropertyById(Consumer<DeleteWhiteboardPropertyByIdOperationSpec> spec) Delete content property for whiteboard by idDeletes a content property for a whiteboard by its id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the whiteboard. Authentication - Required Scopes: [read:whiteboard:confluence, write:whiteboard:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- whiteboardId: The ID of the whiteboard the property belongs to.
- propertyId: The ID of the property to be deleted.
-
getAttachmentById
public CompletableFuture<Attachment> getAttachmentById(Consumer<GetAttachmentByIdOperationSpec> spec) Get attachment by idReturns a specific attachment. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the attachment's container. Authentication - Required Scopes: [read:attachment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the attachment to be returned. If you don't know the attachment's ID, use Get attachments for page/blogpost/custom content.
- version: Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.
-
getAttachmentComments
public CompletableFuture<MultiEntityResultAttachmentCommentModel> getAttachmentComments(Consumer<GetAttachmentCommentsOperationSpec> spec) Get attachment commentsReturns the comments of the specific attachment. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the attachment and its corresponding containers. Authentication - Required Scopes: [read:comment:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the attachment for which comments should be returned.
- bodyFormat: The content format type to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. - cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of comments per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results. - sort: Used to sort the result by a particular field.
-
getAttachmentContentProperties
public CompletableFuture<MultiEntityResultContentProperty> getAttachmentContentProperties(Consumer<GetAttachmentContentPropertiesOperationSpec> spec) Get content properties for attachmentRetrieves all Content Properties tied to a specified attachment. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the attachment. Authentication - Required Scopes: [read:attachment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- attachmentId: The ID of the attachment for which content properties should be returned.
- key: Filters the response to return a specific content property with matching key (case sensitive).
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of attachments per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getAttachmentContentPropertiesById
public CompletableFuture<ContentProperty> getAttachmentContentPropertiesById(Consumer<GetAttachmentContentPropertiesByIdOperationSpec> spec) Get content property for attachment by idRetrieves a specific Content Property by ID that is attached to a specified attachment. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the attachment. Authentication - Required Scopes: [read:attachment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- attachmentId: The ID of the attachment for which content properties should be returned.
- propertyId: The ID of the content property to be returned
-
getAttachmentLabels
public CompletableFuture<MultiEntityResultLabel> getAttachmentLabels(Consumer<GetAttachmentLabelsOperationSpec> spec) Get labels for attachmentReturns the labels of specific attachment. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the parent content of the attachment and its corresponding space. Authentication - Required Scopes: [read:attachment:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the attachment for which labels should be returned.
- prefix: Filter the results to labels based on their prefix.
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of labels per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getAttachmentOperations
public CompletableFuture<PermittedOperationsResponse> getAttachmentOperations(Consumer<GetAttachmentOperationsOperationSpec> spec) Get permitted operations for attachmentReturns the permitted operations on specific attachment. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the parent content of the attachment and its corresponding space. Authentication - Required Scopes: [read:attachment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the attachment for which operations should be returned.
-
getAttachmentVersionDetails
public CompletableFuture<DetailedVersion> getAttachmentVersionDetails(Consumer<GetAttachmentVersionDetailsOperationSpec> spec) Get version details for attachment versionRetrieves version details for the specified attachment and version number. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the attachment. Authentication - Required Scopes: [read:attachment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- attachmentId: The ID of the attachment for which version details should be returned.
- versionNumber: The version number of the attachment to be returned.
-
getAttachmentVersions
public CompletableFuture<MultiEntityResultVersion> getAttachmentVersions(Consumer<GetAttachmentVersionsOperationSpec> spec) Get attachment versionsReturns the versions of specific attachment. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the attachment and its corresponding space. Authentication - Required Scopes: [read:attachment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the attachment to be queried for its versions. If you don't know the attachment ID, use Get attachments and filter the results.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of versions per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results. - sort: Used to sort the result by a particular field.
-
getAttachments
public CompletableFuture<MultiEntityResultAttachment> getAttachments(Consumer<GetAttachmentsOperationSpec> spec) Get attachmentsReturns all attachments. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the container of the attachment. Authentication - Required Scopes: [read:attachment:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - status: Filter the results to attachments based on their status. By default,
currentandarchivedare used. - mediaType: Filters on the mediaType of attachments. Only one may be specified.
- filename: Filters on the file-name of attachments. Only one may be specified.
- limit: Maximum number of attachments per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getBlogPostById
public CompletableFuture<BlogPostSingle> getBlogPostById(Consumer<GetBlogPostByIdOperationSpec> spec) Get blog post by idReturns a specific blog post. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the blog post and its corresponding space. Authentication - Required Scopes: [read:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the blog post to be returned. If you don't know the blog post ID, use Get blog posts and filter the results.
- bodyFormat: The content format types to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. - getDraft: Retrieve the draft version of this blog post.
- version: Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.
-
getBlogPostInlineComments
public CompletableFuture<MultiEntityResultBlogPostInlineCommentModel> getBlogPostInlineComments(Consumer<GetBlogPostInlineCommentsOperationSpec> spec) Get inline comments for blog postReturns the root inline comments of specific blog post. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the blog post and its corresponding space. Authentication - Required Scopes: [read:comment:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the blog post for which inline comments should be returned.
- bodyFormat: The content format type to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. - sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of inline comments per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getBlogPostLabels
public CompletableFuture<MultiEntityResultLabel> getBlogPostLabels(Consumer<GetBlogPostLabelsOperationSpec> spec) Get labels for blog postReturns the labels of specific blog post. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the blog post and its corresponding space. Authentication - Required Scopes: [read:page:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the blog post for which labels should be returned.
- prefix: Filter the results to labels based on their prefix.
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of labels per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getBlogPostLikeCount
public CompletableFuture<Integer> getBlogPostLikeCount(Consumer<GetBlogPostLikeCountOperationSpec> spec) Get like count for blog postReturns the count of likes of specific blog post. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the blog post and its corresponding space. Authentication - Required Scopes: [read:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the blog post for which like count should be returned.
-
getBlogPostLikeUsers
public CompletableFuture<MultiEntityResultString> getBlogPostLikeUsers(Consumer<GetBlogPostLikeUsersOperationSpec> spec) Get account IDs of likes for blog postReturns the account IDs of likes of specific blog post. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the blog post and its corresponding space. Authentication - Required Scopes: [read:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the blog post for which account IDs should be returned.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of account IDs per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getBlogPostOperations
public CompletableFuture<PermittedOperationsResponse> getBlogPostOperations(Consumer<GetBlogPostOperationsOperationSpec> spec) Get permitted operations for blog postReturns the permitted operations on specific blog post. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the parent content of the blog post and its corresponding space. Authentication - Required Scopes: [read:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the blog post for which operations should be returned.
-
getBlogPostVersionDetails
public CompletableFuture<DetailedVersion> getBlogPostVersionDetails(Consumer<GetBlogPostVersionDetailsOperationSpec> spec) Get version details for blog post versionRetrieves version details for the specified blog post and version number. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the blog post. Authentication - Required Scopes: [read:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- blogpostId: The ID of the blog post for which version details should be returned.
- versionNumber: The version number of the blog post to be returned.
-
getBlogPostVersions
public CompletableFuture<MultiEntityResultVersion1> getBlogPostVersions(Consumer<GetBlogPostVersionsOperationSpec> spec) Get blog post versionsReturns the versions of specific blog post. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the blog post and its corresponding space. Authentication - Required Scopes: [read:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the blog post to be queried for its versions. If you don't know the blog post ID, use Get blog posts and filter the results.
- bodyFormat: The content format types to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. - cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of versions per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results. - sort: Used to sort the result by a particular field.
-
getBlogPosts
public CompletableFuture<MultiEntityResultBlogPost> getBlogPosts(Consumer<GetBlogPostsOperationSpec> spec) Get blog postsReturns all blog posts. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission). Only blog posts that the user has permission to view will be returned. Authentication - Required Scopes: [read:page:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: Filter the results based on blog post ids. Multiple blog post ids can be specified as a comma-separated list.
- spaceId: Filter the results based on space ids. Multiple space ids can be specified as a comma-separated list.
- sort: Used to sort the result by a particular field.
- status: Filter the results to blog posts based on their status. By default,
currentis used. - title: Filter the results to blog posts based on their title.
- bodyFormat: The content format types to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. - cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of blog posts per result to return. If more results exist, use the
Linkresponse header to retrieve a relative URL that will return the next set of results.
-
getBlogPostsInSpace
public CompletableFuture<MultiEntityResultBlogPost> getBlogPostsInSpace(Consumer<GetBlogPostsInSpaceOperationSpec> spec) Get blog posts in spaceReturns all blog posts in a space. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission) and view the space. Only blog posts that the user has permission to view will be returned. Authentication - Required Scopes: [read:page:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the space for which blog posts should be returned.
- sort: Used to sort the result by a particular field.
- status: Filter the results to blog posts based on their status. By default,
currentis used. - title: Filter the results to blog posts based on their title.
- bodyFormat: The content format types to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. - cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of blog posts per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getBlogpostAttachments
public CompletableFuture<MultiEntityResultAttachment> getBlogpostAttachments(Consumer<GetBlogpostAttachmentsOperationSpec> spec) Get attachments for blog postReturns the attachments of specific blog post. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the blog post and its corresponding space. Authentication - Required Scopes: [read:attachment:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the blog post for which attachments should be returned.
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - status: Filter the results to attachments based on their status. By default,
currentandarchivedare used. - mediaType: Filters on the mediaType of attachments. Only one may be specified.
- filename: Filters on the file-name of attachments. Only one may be specified.
- limit: Maximum number of attachments per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getBlogpostContentProperties
public CompletableFuture<MultiEntityResultContentProperty> getBlogpostContentProperties(Consumer<GetBlogpostContentPropertiesOperationSpec> spec) Get content properties for blog postRetrieves all Content Properties tied to a specified blog post. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the blog post. Authentication - Required Scopes: [read:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- blogpostId: The ID of the blog post for which content properties should be returned.
- key: Filters the response to return a specific content property with matching key (case sensitive).
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of attachments per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getBlogpostContentPropertiesById
public CompletableFuture<ContentProperty> getBlogpostContentPropertiesById(Consumer<GetBlogpostContentPropertiesByIdOperationSpec> spec) Get content property for blog post by idRetrieves a specific Content Property by ID that is attached to a specified blog post. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the blog post. Authentication - Required Scopes: [read:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- blogpostId: The ID of the blog post for which content properties should be returned.
- propertyId: The ID of the property being requested
-
getChildCustomContent
public CompletableFuture<MultiEntityResultChildCustomContent> getChildCustomContent(Consumer<GetChildCustomContentOperationSpec> spec) Get child custom contentReturns all child custom content for given custom content id. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission). Only custom content that the user has permission to view will be returned. Authentication - Required Scopes: [read:custom-content:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the parent custom content. If you don't know the custom content ID, use Get custom-content and filter the results.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of pages per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results. - sort: Used to sort the result by a particular field.
-
getChildPages
public CompletableFuture<MultiEntityResultChildPage> getChildPages(Consumer<GetChildPagesOperationSpec> spec) Get child pagesReturns all child pages for given page id. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission). Only pages that the user has permission to view will be returned. Authentication - Required Scopes: [read:page:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the parent page. If you don't know the page ID, use Get pages and filter the results.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of pages per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results. - sort: Used to sort the result by a particular field.
-
getCommentContentProperties
public CompletableFuture<MultiEntityResultContentProperty> getCommentContentProperties(Consumer<GetCommentContentPropertiesOperationSpec> spec) Get content properties for commentRetrieves Content Properties attached to a specified comment. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the comment. Authentication - Required Scopes: [read:comment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- commentId: The ID of the comment for which content properties should be returned.
- key: Filters the response to return a specific content property with matching key (case sensitive).
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of attachments per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getCommentContentPropertiesById
public CompletableFuture<ContentProperty> getCommentContentPropertiesById(Consumer<GetCommentContentPropertiesByIdOperationSpec> spec) Get content property for comment by idRetrieves a specific Content Property by ID that is attached to a specified comment. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the comment. Authentication - Required Scopes: [read:comment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- commentId: The ID of the comment for which content properties should be returned.
- propertyId: The ID of the content property being requested.
-
getCustomContentAttachments
public CompletableFuture<MultiEntityResultAttachment> getCustomContentAttachments(Consumer<GetCustomContentAttachmentsOperationSpec> spec) Get attachments for custom contentReturns the attachments of specific custom content. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the custom content and its corresponding space. Authentication - Required Scopes: [read:attachment:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the custom content for which attachments should be returned.
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - status: Filter the results to attachments based on their status. By default,
currentandarchivedare used. - mediaType: Filters on the mediaType of attachments. Only one may be specified.
- filename: Filters on the file-name of attachments. Only one may be specified.
- limit: Maximum number of attachments per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getCustomContentById
public CompletableFuture<CustomContentSingle> getCustomContentById(Consumer<GetCustomContentByIdOperationSpec> spec) Get custom content by idReturns a specific piece of custom content. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the custom content, the container of the custom content, and the corresponding space (if different from the container). Authentication - Required Scopes: [read:custom-content:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the custom content to be returned. If you don't know the custom content ID, use Get Custom Content by Type and filter the results.
- bodyFormat: The content format types to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. Note: If the custom content body type isstorage, thestorageandatlas_doc_formatbody formats are able to be returned. If the custom content body type israw, only therawbody format is able to be returned. - version: Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.
-
getCustomContentByType
public CompletableFuture<MultiEntityResultCustomContent> getCustomContentByType(Consumer<GetCustomContentByTypeOperationSpec> spec) Get custom content by typeReturns all custom content for a given type. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the custom content, the container of the custom content, and the corresponding space (if different from the container). Authentication - Required Scopes: [read:custom-content:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- type: The type of custom content being requested. See: https://developer.atlassian.com/cloud/confluence/custom-content/ for additional details on custom content.
- id: Filter the results based on custom content ids. Multiple custom content ids can be specified as a comma-separated list.
- spaceId: Filter the results based on space ids. Multiple space ids can be specified as a comma-separated list.
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of pages per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results. - bodyFormat: The content format types to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. Note: If the custom content body type isstorage, thestorageandatlas_doc_formatbody formats are able to be returned. If the custom content body type israw, only therawbody format is able to be returned.
-
getCustomContentByTypeInBlogPost
public CompletableFuture<MultiEntityResultCustomContent> getCustomContentByTypeInBlogPost(Consumer<GetCustomContentByTypeInBlogPostOperationSpec> spec) Get custom content by type in blog postReturns all custom content for a given type within a given blogpost. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the custom content, the container of the custom content (blog post), and the corresponding space. Authentication - Required Scopes: [read:custom-content:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the blog post for which custom content should be returned.
- type: The type of custom content being requested. See: https://developer.atlassian.com/cloud/confluence/custom-content/ for additional details on custom content.
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of pages per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results. - bodyFormat: The content format types to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. Note: If the custom content body type isstorage, thestorageandatlas_doc_formatbody formats are able to be returned. If the custom content body type israw, only therawbody format is able to be returned.
-
getCustomContentByTypeInPage
public CompletableFuture<MultiEntityResultCustomContent> getCustomContentByTypeInPage(Consumer<GetCustomContentByTypeInPageOperationSpec> spec) Get custom content by type in pageReturns all custom content for a given type within a given page. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the custom content, the container of the custom content (page), and the corresponding space. Authentication - Required Scopes: [read:custom-content:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the page for which custom content should be returned.
- type: The type of custom content being requested. See: https://developer.atlassian.com/cloud/confluence/custom-content/ for additional details on custom content.
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of pages per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results. - bodyFormat: The content format types to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. Note: If the custom content body type isstorage, thestorageandatlas_doc_formatbody formats are able to be returned. If the custom content body type israw, only therawbody format is able to be returned.
-
getCustomContentByTypeInSpace
public CompletableFuture<MultiEntityResultCustomContent> getCustomContentByTypeInSpace(Consumer<GetCustomContentByTypeInSpaceOperationSpec> spec) Get custom content by type in spaceReturns all custom content for a given type within a given space. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the custom content and the corresponding space. Authentication - Required Scopes: [read:custom-content:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the space for which custom content should be returned.
- type: The type of custom content being requested. See: https://developer.atlassian.com/cloud/confluence/custom-content/ for additional details on custom content.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of pages per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results. - bodyFormat: The content format types to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. Note: If the custom content body type isstorage, thestorageandatlas_doc_formatbody formats are able to be returned. If the custom content body type israw, only therawbody format is able to be returned.
-
getCustomContentComments
public CompletableFuture<MultiEntityResultCustomContentCommentModel> getCustomContentComments(Consumer<GetCustomContentCommentsOperationSpec> spec) Get custom content commentsReturns the comments of the specific custom content. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the custom content and its corresponding containers. Authentication - Required Scopes: [read:comment:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the custom content for which comments should be returned.
- bodyFormat: The content format type to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. - cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of comments per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results. - sort: Used to sort the result by a particular field.
-
getCustomContentContentProperties
public CompletableFuture<MultiEntityResultContentProperty> getCustomContentContentProperties(Consumer<GetCustomContentContentPropertiesOperationSpec> spec) Get content properties for custom contentRetrieves Content Properties tied to a specified custom content. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the custom content. Authentication - Required Scopes: [read:custom-content:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- customContentId: The ID of the custom content for which content properties should be returned.
- key: Filters the response to return a specific content property with matching key (case sensitive).
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of attachments per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getCustomContentContentPropertiesById
public CompletableFuture<ContentProperty> getCustomContentContentPropertiesById(Consumer<GetCustomContentContentPropertiesByIdOperationSpec> spec) Get content property for custom content by idRetrieves a specific Content Property by ID that is attached to a specified custom content. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the page. Authentication - Required Scopes: [read:custom-content:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- customContentId: The ID of the custom content for which content properties should be returned.
- propertyId: The ID of the content property being requested.
-
getCustomContentLabels
public CompletableFuture<MultiEntityResultLabel> getCustomContentLabels(Consumer<GetCustomContentLabelsOperationSpec> spec) Get labels for custom contentReturns the labels for a specific piece of custom content. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the custom content and its corresponding space. Authentication - Required Scopes: [read:custom-content:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the custom content for which labels should be returned.
- prefix: Filter the results to labels based on their prefix.
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of labels per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getCustomContentOperations
public CompletableFuture<PermittedOperationsResponse> getCustomContentOperations(Consumer<GetCustomContentOperationsOperationSpec> spec) Get permitted operations for custom contentReturns the permitted operations on specific custom content. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the parent content of the custom content and its corresponding space. Authentication - Required Scopes: [read:custom-content:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the custom content for which operations should be returned.
-
getCustomContentVersionDetails
public CompletableFuture<DetailedVersion> getCustomContentVersionDetails(Consumer<GetCustomContentVersionDetailsOperationSpec> spec) Get version details for custom content versionRetrieves version details for the specified custom content and version number. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the page. Authentication - Required Scopes: [read:custom-content:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- customContentId: The ID of the custom content for which version details should be returned.
- versionNumber: The version number of the custom content to be returned.
-
getCustomContentVersions
public CompletableFuture<MultiEntityResultVersion3> getCustomContentVersions(Consumer<GetCustomContentVersionsOperationSpec> spec) Get custom content versionsReturns the versions of specific custom content. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the custom content and its corresponding page and space. Authentication - Required Scopes: [read:custom-content:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- customContentId: The ID of the custom content to be queried for its versions. If you don't know the custom content ID, use Get custom-content by type and filter the results.
- bodyFormat: The content format types to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. Note: If the custom content body type isstorage, thestorageandatlas_doc_formatbody formats are able to be returned. If the custom content body type israw, only therawbody format is able to be returned. - cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of versions per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results. - sort: Used to sort the result by a particular field.
-
getDataPolicyMetadata
Get data policy metadata for the workspace (EAP)Returns data policy metadata for the workspace. **[Permissions](#permissions) required:** Only apps can make this request. Permission to access the Confluence site ('Can use' global permission).
-
getDataPolicySpaces
public CompletableFuture<MultiEntityResultDataPolicySpace> getDataPolicySpaces(Consumer<GetDataPolicySpacesOperationSpec> spec) Get spaces with data policies (EAP)Returns all spaces. The results will be sorted by id ascending. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Only apps can make this request. Permission to access the Confluence site ('Can use' global permission). Only spaces that the app has permission to view will be returned. Authentication - Required Scopes: [read:space:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- ids: Filter the results to spaces based on their IDs. Multiple IDs can be specified as a comma-separated list.
- keys: Filter the results to spaces based on their keys. Multiple keys can be specified as a comma-separated list.
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of spaces per result to return. If more results exist, use the
Linkresponse header to retrieve a relative URL that will return the next set of results.
-
getInlineCommentById
public CompletableFuture<InlineCommentModel> getInlineCommentById(Consumer<GetInlineCommentByIdOperationSpec> spec) Get inline comment by idRetrieves an inline comment by id **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page or blogpost and its corresponding space. Authentication - Required Scopes: [read:comment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- commentId: The ID of the comment to be retrieved.
- bodyFormat: The content format type to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. - version: Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.
-
getInlineCommentChildren
public CompletableFuture<MultiEntityResultInlineCommentChildrenModel> getInlineCommentChildren(Consumer<GetInlineCommentChildrenOperationSpec> spec) Get children inline commentsReturns the children inline comments of specific comment. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page and its corresponding space. Authentication - Required Scopes: [read:comment:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the parent comment for which inline comment children should be returned.
- bodyFormat: The content format type to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. - sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of footer comments per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getInlineCommentOperations
public CompletableFuture<PermittedOperationsResponse> getInlineCommentOperations(Consumer<GetInlineCommentOperationsOperationSpec> spec) Get permitted operations for inline commentReturns the permitted operations on specific inline comment. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the parent content of the inline comment and its corresponding space. Authentication - Required Scopes: [read:comment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the inline comment for which operations should be returned.
-
getInlineCommentVersionDetails
public CompletableFuture<DetailedVersion> getInlineCommentVersionDetails(Consumer<GetInlineCommentVersionDetailsOperationSpec> spec) Get version details for inline comment versionRetrieves version details for the specified inline comment version. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page or blog post and its corresponding space. Authentication - Required Scopes: [read:comment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the inline comment for which version details should be returned.
- versionNumber: The version number of the inline comment to be returned.
-
getInlineCommentVersions
public CompletableFuture<MultiEntityResultVersion4> getInlineCommentVersions(Consumer<GetInlineCommentVersionsOperationSpec> spec) Get inline comment versionsRetrieves the versions of the specified inline comment. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page or blog post and its corresponding space. Authentication - Required Scopes: [read:comment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the inline comment for which versions should be returned
- bodyFormat: The content format types to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. - cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of versions per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results. - sort: Used to sort the result by a particular field.
-
getInlineComments
public CompletableFuture<MultiEntityResultInlineCommentModel> getInlineComments(Consumer<GetInlineCommentsOperationSpec> spec) Get inline commentsReturns all inline comments. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page and its corresponding space. Authentication - Required Scopes: [read:comment:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- bodyFormat: The content format type to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. - sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of footer comments per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
- bodyFormat: The content format type to be returned in the
-
getInlineLikeCount
public CompletableFuture<Integer> getInlineLikeCount(Consumer<GetInlineLikeCountOperationSpec> spec) Get like count for inline commentReturns the count of likes of specific inline comment. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page/blogpost and its corresponding space. Authentication - Required Scopes: [read:comment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the inline comment for which like count should be returned.
-
getInlineLikeUsers
public CompletableFuture<MultiEntityResultString> getInlineLikeUsers(Consumer<GetInlineLikeUsersOperationSpec> spec) Get account IDs of likes for inline commentReturns the account IDs of likes of specific inline comment. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page/blogpost and its corresponding space. Authentication - Required Scopes: [read:comment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the inline comment for which like count should be returned.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of account IDs per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getLabelAttachments
public CompletableFuture<MultiEntityResultAttachment1> getLabelAttachments(Consumer<GetLabelAttachmentsOperationSpec> spec) Get attachments for labelReturns the attachments of specified label. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the attachment and its corresponding space. Authentication - Required Scopes: [read:attachment:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the label for which attachments should be returned.
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of pages per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getLabelBlogPosts
public CompletableFuture<MultiEntityResultBlogPost> getLabelBlogPosts(Consumer<GetLabelBlogPostsOperationSpec> spec) Get blog posts for labelReturns the blogposts of specified label. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page and its corresponding space. Authentication - Required Scopes: [read:page:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the label for which blog posts should be returned.
- spaceId: Filter the results based on space ids. Multiple space ids can be specified as a comma-separated list.
- bodyFormat: The content format types to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. - sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of blog posts per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getLabelPages
public CompletableFuture<MultiEntityResultPage> getLabelPages(Consumer<GetLabelPagesOperationSpec> spec) Get pages for labelReturns the pages of specified label. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page and its corresponding space. Authentication - Required Scopes: [read:page:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the label for which pages should be returned.
- spaceId: Filter the results based on space ids. Multiple space ids can be specified as a comma-separated list.
- bodyFormat: The content format types to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. - sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of pages per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getLabels
Get labelsReturns all labels. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission). Only labels that the user has permission to view will be returned.- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- labelId: Filters on label ID. Multiple IDs can be specified as a comma-separated list.
- prefix: Filters on label prefix. Multiple IDs can be specified as a comma-separated list.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - sort: Used to sort the result by a particular field.
- limit: Maximum number of labels per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getPageAncestors
public CompletableFuture<MultiEntityResultAncestor> getPageAncestors(Consumer<GetPageAncestorsOperationSpec> spec) Get all ancestors of pageReturns all ancestors for a given page by ID in top-to-bottom order (that is, the highest ancestor is the first item in the response payload). The number of results is limited by the
limitparameter and additional results (if available) will be available by calling this endpoint with the ID of first ancestor in the response payload. This endpoint returns minimal information about each ancestor. To fetch more details, use a related endpoint, such as [Get page by id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-id-get). **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission).- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the page.
- limit: Maximum number of pages per result to return. If more results exist, call this endpoint with the highest ancestor's ID to fetch the next set of results.
-
getPageAttachments
public CompletableFuture<MultiEntityResultAttachment> getPageAttachments(Consumer<GetPageAttachmentsOperationSpec> spec) Get attachments for pageReturns the attachments of specific page. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page and its corresponding space. Authentication - Required Scopes: [read:attachment:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the page for which attachments should be returned.
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - status: Filter the results to attachments based on their status. By default,
currentandarchivedare used. - mediaType: Filters on the mediaType of attachments. Only one may be specified.
- filename: Filters on the file-name of attachments. Only one may be specified.
- limit: Maximum number of attachments per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getPageById
Get page by idReturns a specific page. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the page and its corresponding space. Authentication - Required Scopes: [read:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the page to be returned. If you don't know the page ID, use Get pages and filter the results.
- bodyFormat: The content format types to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. - getDraft: Retrieve the draft version of this page.
- version: Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.
-
getPageContentProperties
public CompletableFuture<MultiEntityResultContentProperty> getPageContentProperties(Consumer<GetPageContentPropertiesOperationSpec> spec) Get content properties for pageRetrieves Content Properties tied to a specified page. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the page. Authentication - Required Scopes: [read:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- pageId: The ID of the page for which content properties should be returned.
- key: Filters the response to return a specific content property with matching key (case sensitive).
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of attachments per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getPageContentPropertiesById
public CompletableFuture<ContentProperty> getPageContentPropertiesById(Consumer<GetPageContentPropertiesByIdOperationSpec> spec) Get content property for page by idRetrieves a specific Content Property by ID that is attached to a specified page. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the page. Authentication - Required Scopes: [read:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- pageId: The ID of the page for which content properties should be returned.
- propertyId: The ID of the content property being requested.
-
getPageInlineComments
public CompletableFuture<MultiEntityResultPageInlineCommentModel> getPageInlineComments(Consumer<GetPageInlineCommentsOperationSpec> spec) Get inline comments for pageReturns the root inline comments of specific page. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page and its corresponding space. Authentication - Required Scopes: [read:comment:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the page for which inline comments should be returned.
- bodyFormat: The content format type to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. - sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of inline comments per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getPageLabels
public CompletableFuture<MultiEntityResultLabel> getPageLabels(Consumer<GetPageLabelsOperationSpec> spec) Get labels for pageReturns the labels of specific page. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page and its corresponding space. Authentication - Required Scopes: [read:page:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the page for which labels should be returned.
- prefix: Filter the results to labels based on their prefix.
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of labels per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getPageLikeCount
Get like count for pageReturns the count of likes of specific page. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page and its corresponding space. Authentication - Required Scopes: [read:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the page for which like count should be returned.
-
getPageLikeUsers
public CompletableFuture<MultiEntityResultString> getPageLikeUsers(Consumer<GetPageLikeUsersOperationSpec> spec) Get account IDs of likes for pageReturns the account IDs of likes of specific page. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page and its corresponding space. Authentication - Required Scopes: [read:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the page for which like count should be returned.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of account IDs per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getPageOperations
public CompletableFuture<PermittedOperationsResponse> getPageOperations(Consumer<GetPageOperationsOperationSpec> spec) Get permitted operations for pageReturns the permitted operations on specific page. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the parent content of the page and its corresponding space. Authentication - Required Scopes: [read:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the page for which operations should be returned.
-
getPageVersionDetails
public CompletableFuture<DetailedVersion> getPageVersionDetails(Consumer<GetPageVersionDetailsOperationSpec> spec) Get version details for page versionRetrieves version details for the specified page and version number. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the page. Authentication - Required Scopes: [read:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- pageId: The ID of the page for which version details should be returned.
- versionNumber: The version number of the page to be returned.
-
getPageVersions
public CompletableFuture<MultiEntityResultVersion2> getPageVersions(Consumer<GetPageVersionsOperationSpec> spec) Get page versionsReturns the versions of specific page. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the page and its corresponding space. Authentication - Required Scopes: [read:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the page to be queried for its versions. If you don't know the page ID, use Get pages and filter the results.
- bodyFormat: The content format types to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. - cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of versions per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results. - sort: Used to sort the result by a particular field.
-
getPages
Get pagesReturns all pages. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission). Only pages that the user has permission to view will be returned. Authentication - Required Scopes: [read:page:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: Filter the results based on page ids. Multiple page ids can be specified as a comma-separated list.
- spaceId: Filter the results based on space ids. Multiple space ids can be specified as a comma-separated list.
- sort: Used to sort the result by a particular field.
- status: Filter the results to pages based on their status. By default,
currentandarchivedare used. - title: Filter the results to pages based on their title.
- bodyFormat: The content format types to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. - cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of pages per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getPagesInSpace
public CompletableFuture<MultiEntityResultPage> getPagesInSpace(Consumer<GetPagesInSpaceOperationSpec> spec) Get pages in spaceReturns all pages in a space. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission) and 'View' permission for the space. Only pages that the user has permission to view will be returned. Authentication - Required Scopes: [read:page:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the space for which pages should be returned.
- depth: Filter the results to pages at the root level of the space or to all pages in the space.
- sort: Used to sort the result by a particular field.
- status: Filter the results to pages based on their status. By default,
currentandarchivedare used. - title: Filter the results to pages based on their title.
- bodyFormat: The content format types to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. - cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of pages per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getSpaceById
Get space by idReturns a specific space. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the space. Authentication - Required Scopes: [read:space:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the space to be returned.
- descriptionFormat: The content format type to be returned in the
descriptionfield of the response. If available, the representation will be available under a response field of the same name under thedescriptionfield. - includeIcon: If the icon for the space should be fetched or not.
-
getSpaceContentLabels
public CompletableFuture<MultiEntityResultLabel> getSpaceContentLabels(Consumer<GetSpaceContentLabelsOperationSpec> spec) Get labels for space contentReturns the labels of space content (pages, blogposts etc). The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the space. Authentication - Required Scopes: [read:space:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the space for which labels should be returned.
- prefix: Filter the results to labels based on their prefix.
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of labels per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getSpaceLabels
public CompletableFuture<MultiEntityResultLabel> getSpaceLabels(Consumer<GetSpaceLabelsOperationSpec> spec) Get labels for spaceReturns the labels of specific space. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the space. Authentication - Required Scopes: [read:space:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the space for which labels should be returned.
- prefix: Filter the results to labels based on their prefix.
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of labels per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getSpaceOperations
public CompletableFuture<PermittedOperationsResponse> getSpaceOperations(Consumer<GetSpaceOperationsOperationSpec> spec) Get permitted operations for spaceReturns the permitted operations on specific space. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the corresponding space. Authentication - Required Scopes: [read:space:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the space for which operations should be returned.
-
getSpacePermissions
public CompletableFuture<MultiEntityResultSpacePermission> getSpacePermissions(Consumer<GetSpacePermissionsOperationSpec> spec) Get space permissionsReturns space permissions for a specific space. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the space.
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the space to be returned.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of spaces per result to return. If more results exist, use the
Linkresponse header to retrieve a relative URL that will return the next set of results.
-
getSpaceProperties
public CompletableFuture<MultiEntityResultSpaceProperty> getSpaceProperties(Consumer<GetSpacePropertiesOperationSpec> spec) Get space properties in spaceReturns all properties for the given space. Space properties are a key-value storage associated with a space. The limit parameter specifies the maximum number of results returned in a single response. Use the
linkresponse header to paginate through additional results. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission) and 'View' permission for the space. Authentication - Required Scopes: [read:space:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- spaceId: The ID of the space for which space properties should be returned.
- key: The key of the space property to retrieve. This should be used when a user knows the key of their property, but needs to retrieve the id for use in other methods.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of pages per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getSpacePropertyById
public CompletableFuture<SpaceProperty> getSpacePropertyById(Consumer<GetSpacePropertyByIdOperationSpec> spec) Get space property by idRetrieve a space property by its id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission) and 'View' permission for the space. Authentication - Required Scopes: [read:space:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- spaceId: The ID of the space the property belongs to.
- propertyId: The ID of the property to be retrieved.
-
getSpaces
Get spacesReturns all spaces. The results will be sorted by id ascending. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission). Only spaces that the user has permission to view will be returned. Authentication - Required Scopes: [read:space:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- ids: Filter the results to spaces based on their IDs. Multiple IDs can be specified as a comma-separated list.
- keys: Filter the results to spaces based on their keys. Multiple keys can be specified as a comma-separated list.
- type: Filter the results to spaces based on their type.
- status: Filter the results to spaces based on their status.
- labels: Filter the results to spaces based on their labels. Multiple labels can be specified as a comma-separated list.
- sort: Used to sort the result by a particular field.
- descriptionFormat: The content format type to be returned in the
descriptionfield of the response. If available, the representation will be available under a response field of the same name under thedescriptionfield. - includeIcon: If the icon for the space should be fetched or not.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of spaces per result to return. If more results exist, use the
Linkresponse header to retrieve a relative URL that will return the next set of results.
-
getTaskById
Get task by idReturns a specific task. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the containing page or blog post and its corresponding space. Authentication - Required Scopes: [read:task:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the task to be returned. If you don't know the task ID, use Get tasks and filter the results.
- bodyFormat: The content format types to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield.
-
getTasks
Get tasksReturns all tasks. The number of results is limited by the
limitparameter and additional results (if available) will be available through thenextURL present in theLinkresponse header. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission). Only tasks that the user has permission to view will be returned. Authentication - Required Scopes: [read:task:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- bodyFormat: The content format types to be returned in the
bodyfield of the response. If available, the representation will be available under a response field of the same name under thebodyfield. - includeBlankTasks: Specifies whether to include blank tasks in the response. Defaults to
true. - status: Filters on the status of the task.
- taskId: Filters on task ID. Multiple IDs can be specified.
- spaceId: Filters on the space ID of the task. Multiple IDs can be specified.
- pageId: Filters on the page ID of the task. Multiple IDs can be specified. Note - page and blog post filters can be used in conjunction.
- blogpostId: Filters on the blog post ID of the task. Multiple IDs can be specified. Note - page and blog post filters can be used in conjunction.
- createdBy: Filters on the Account ID of the user who created this task. Multiple IDs can be specified.
- assignedTo: Filters on the Account ID of the user to whom this task is assigned. Multiple IDs can be specified.
- completedBy: Filters on the Account ID of the user who completed this task. Multiple IDs can be specified.
- createdAtFrom: Filters on start of date-time range of task based on creation date (inclusive). Input is epoch time in milliseconds.
- createdAtTo: Filters on end of date-time range of task based on creation date (inclusive). Input is epoch time in milliseconds.
- dueAtFrom: Filters on start of date-time range of task based on due date (inclusive). Input is epoch time in milliseconds.
- dueAtTo: Filters on end of date-time range of task based on due date (inclusive). Input is epoch time in milliseconds.
- completedAtFrom: Filters on start of date-time range of task based on completion date (inclusive). Input is epoch time in milliseconds.
- completedAtTo: Filters on end of date-time range of task based on completion date (inclusive). Input is epoch time in milliseconds.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of tasks per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
- bodyFormat: The content format types to be returned in the
-
getWhiteboardAncestors
public CompletableFuture<MultiEntityResultAncestor> getWhiteboardAncestors(Consumer<GetWhiteboardAncestorsOperationSpec> spec) Get all ancestors of the whiteboardReturns all ancestors for a given whiteboard by ID in top-to-bottom order (that is, the highest ancestor is the first item in the response payload). The number of results is limited by the
limitparameter and additional results (if available) will be available by calling this endpoint with the ID of first ancestor in the response payload. This endpoint returns minimal information about each ancestor. To fetch more details, use a related endpoint, such as [Get page by id](https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page/#api-pages-id-get). **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission). Permission to view the whiteboard and its corresponding space- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the whiteboard.
- limit: Maximum number of items per result to return. If more results exist, call the endpoint with the highest ancestor's ID to fetch the next set of results.
-
getWhiteboardById
public CompletableFuture<WhiteboardSingle> getWhiteboardById(Consumer<GetWhiteboardByIdOperationSpec> spec) Get whiteboard by idReturns a specific whiteboard. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the whiteboard and its corresponding space. Authentication - Required Scopes: [read:whiteboard:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the whiteboard to be returned
-
getWhiteboardContentProperties
public CompletableFuture<MultiEntityResultContentProperty> getWhiteboardContentProperties(Consumer<GetWhiteboardContentPropertiesOperationSpec> spec) Get content properties for whiteboardRetrieves Content Properties tied to a specified whiteboard. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the whiteboard. Authentication - Required Scopes: [read:whiteboard:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the whiteboard for which content properties should be returned.
- key: Filters the response to return a specific content property with matching key (case sensitive).
- sort: Used to sort the result by a particular field.
- cursor: Used for pagination, this opaque cursor will be returned in the
nextURL in theLinkresponse header. Use the relative URL in theLinkheader to retrieve thenextset of results. - limit: Maximum number of attachments per result to return. If more results exist, use the
Linkheader to retrieve a relative URL that will return the next set of results.
-
getWhiteboardContentPropertiesById
public CompletableFuture<ContentProperty> getWhiteboardContentPropertiesById(Consumer<GetWhiteboardContentPropertiesByIdOperationSpec> spec) Get content property for whiteboard by idRetrieves a specific Content Property by ID that is attached to a specified whiteboard. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the whiteboard. Authentication - Required Scopes: [read:whiteboard:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- whiteboardId: The ID of the whiteboard for which content properties should be returned.
- propertyId: The ID of the content property being requested.
-
getWhiteboardOperations
public CompletableFuture<PermittedOperationsResponse> getWhiteboardOperations(Consumer<GetWhiteboardOperationsOperationSpec> spec) Get permitted operations for a whiteboardReturns the permitted operations on specific whiteboard. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the whiteboard and its corresponding space. Authentication - Required Scopes: [read:whiteboard:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the whiteboard for which operations should be returned.
-
inviteByEmail
Invite a list of emails to the siteInvite a list of emails to the site. Ignores all invalid emails and no action is taken for the emails that already have access to the site. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission).
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- checkAccessByEmailRequest:
-
updateAttachmentPropertyById
public CompletableFuture<ContentProperty> updateAttachmentPropertyById(Consumer<UpdateAttachmentPropertyByIdOperationSpec> spec) Update content property for attachment by idUpdate a content property for attachment by its id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the attachment. Authentication - Required Scopes: [read:attachment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- attachmentId: The ID of the attachment the property belongs to.
- propertyId: The ID of the property to be updated.
- contentPropertyUpdateRequest: The content property to be updated.
-
updateBlogPost
Update blog postUpdate a blog post by id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the blog post and its corresponding space. Permission to update blog posts in the space. Authentication - Required Scopes: [write:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the blog post to be updated. If you don't know the blog post ID, use Get Blog Posts and filter the results.
- updateBlogPostRequest:
-
updateBlogpostPropertyById
public CompletableFuture<ContentProperty> updateBlogpostPropertyById(Consumer<UpdateBlogpostPropertyByIdOperationSpec> spec) Update content property for blog post by idUpdate a content property for blog post by its id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the blog post. Authentication - Required Scopes: [read:page:confluence, write:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- blogpostId: The ID of the blog post the property belongs to.
- propertyId: The ID of the property to be updated.
- contentPropertyUpdateRequest: The content property to be updated.
-
updateCommentPropertyById
public CompletableFuture<ContentProperty> updateCommentPropertyById(Consumer<UpdateCommentPropertyByIdOperationSpec> spec) Update content property for comment by idUpdate a content property for a comment by its id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the comment. Authentication - Required Scopes: [read:comment:confluence, write:comment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- commentId: The ID of the comment the property belongs to.
- propertyId: The ID of the property to be updated.
- contentPropertyUpdateRequest: The content property to be updated.
-
updateCustomContent
public CompletableFuture<CustomContentSingle> updateCustomContent(Consumer<UpdateCustomContentOperationSpec> spec) Update custom contentUpdate a custom content by id.
spaceIdis always required and maximum one ofpageId,blogPostId, orcustomContentIdis allowed in the request body. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page or blogpost and its corresponding space. Permission to update custom content in the space. Authentication - Required Scopes: [write:custom-content:confluence]- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the custom content to be updated. If you don't know the custom content ID, use Get Custom Content by Type and filter the results.
- updateCustomContentRequest:
-
updateCustomContentPropertyById
public CompletableFuture<ContentProperty> updateCustomContentPropertyById(Consumer<UpdateCustomContentPropertyByIdOperationSpec> spec) Update content property for custom content by idUpdate a content property for a piece of custom content by its id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the custom content. Authentication - Required Scopes: [read:custom-content:confluence, write:custom-content:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- customContentId: The ID of the custom content the property belongs to.
- propertyId: The ID of the property to be updated.
- contentPropertyUpdateRequest: The content property to be updated.
-
updateInlineComment
public CompletableFuture<InlineCommentModel> updateInlineComment(Consumer<UpdateInlineCommentOperationSpec> spec) Update inline commentUpdate an inline comment. This can be used to update the body text of a comment and/or to resolve the comment **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the content of the page or blogpost and its corresponding space. Permission to create comments in the space. Authentication - Required Scopes: [write:comment:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- commentId: The ID of the comment to be retrieved.
- updateInlineCommentModel: The inline comment to be updated
-
updatePage
Update pageUpdate a page by id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the page and its corresponding space. Permission to update pages in the space. Authentication - Required Scopes: [write:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the page to be updated. If you don't know the page ID, use Get Pages and filter the results.
- updatePageRequest:
-
updatePagePropertyById
public CompletableFuture<ContentProperty> updatePagePropertyById(Consumer<UpdatePagePropertyByIdOperationSpec> spec) Update content property for page by idUpdate a content property for a page by its id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the page. Authentication - Required Scopes: [read:page:confluence, write:page:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- pageId: The ID of the page the property belongs to.
- propertyId: The ID of the property to be updated.
- contentPropertyUpdateRequest: The content property to be updated.
-
updateSpacePropertyById
public CompletableFuture<SpaceProperty> updateSpacePropertyById(Consumer<UpdateSpacePropertyByIdOperationSpec> spec) Update space property by idUpdate a space property by its id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to access the Confluence site ('Can use' global permission) and 'Admin' permission for the space. Authentication - Required Scopes: [read:space:confluence, write:space:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- spaceId: The ID of the space the property belongs to.
- propertyId: The ID of the property to be updated.
- spacePropertyUpdateRequest: The space property to be updated.
-
updateTask
Update taskUpdate a task by id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the containing page or blog post and view its corresponding space.
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- id: The ID of the task to be updated. If you don't know the task ID, use Get tasks and filter the results.
- updateTaskRequest:
-
updateWhiteboardPropertyById
public CompletableFuture<ContentProperty> updateWhiteboardPropertyById(Consumer<UpdateWhiteboardPropertyByIdOperationSpec> spec) Update content property for whiteboard by idUpdate a content property for a whiteboard by its id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to edit the whiteboard. Authentication - Required Scopes: [read:whiteboard:confluence, write:whiteboard:confluence]
- Parameter:
spec- a consumer that creates the payload for this operation. Supports the following properties:- whiteboardId: The ID of the whiteboard the property belongs to.
- propertyId: The ID of the property to be updated.
- contentPropertyUpdateRequest: The content property to be updated.
-