Klasse ConfluenceRESTV2ConsumerApi

java.lang.Object
io.github.primelib.confluence4j.rest.v2.api.ConfluenceRESTV2ConsumerApi

@Generated("io.github.primelib.primecodegen.javafeign.JavaFeignGenerator") public class ConfluenceRESTV2ConsumerApi extends Object
  • Konstruktordetails

  • Methodendetails

    • checkAccessByEmail

      Check site access for a list of emails

      Returns 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

      Convert content ids to content types

      Converts 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-comment for inline comments and footer-comment for footer comments, which is distinct from them both being represented by comment in 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 to null in the response.

      Parameter:
      spec - a consumer that creates the payload for this operation. Supports the following properties:
      • convertContentIdsToContentTypesRequest:
    • createAttachmentProperty

      public ContentProperty createAttachmentProperty(Consumer<CreateAttachmentPropertyOperationSpec> spec)
      Create content property for attachment

      Creates 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
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • createBlogPost

      public BlogPostSingle createBlogPost(Consumer<CreateBlogPostOperationSpec> spec)
      Create blog post

      Creates 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:
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
      • _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 ContentProperty createBlogpostProperty(Consumer<CreateBlogpostPropertyOperationSpec> spec)
      Create content property for blog post

      Creates 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
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • createCommentProperty

      public ContentProperty createCommentProperty(Consumer<CreateCommentPropertyOperationSpec> spec)
      Create content property for comment

      Creates 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
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • createCustomContent

      Create custom content

      Creates a new custom content in the given space, page, blogpost or other custom content. Only one of spaceId, pageId, blogPostId, or customContentId is 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:
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • createCustomContentProperty

      public ContentProperty createCustomContentProperty(Consumer<CreateCustomContentPropertyOperationSpec> spec)
      Create content property for custom content

      Creates 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
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • createFooterComment

      public FooterCommentModel createFooterComment(Consumer<CreateFooterCommentOperationSpec> spec)
      Create footer comment

      Create a footer 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). **[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:
      • createFooterCommentModel: The footer comment to be created
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • createInlineComment

      public InlineCommentModel createInlineComment(Consumer<CreateInlineCommentOperationSpec> spec)
      Create inline comment

      Create 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
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • createPage

      public PageSingle createPage(Consumer<CreatePageOperationSpec> spec)
      Create page

      Creates 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:
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
      • 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.
    • createPageProperty

      public ContentProperty createPageProperty(Consumer<CreatePagePropertyOperationSpec> spec)
      Create content property for page

      Creates 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
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • createSpaceProperty

      public SpaceProperty createSpaceProperty(Consumer<CreateSpacePropertyOperationSpec> spec)
      Create space property in space

      Creates 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
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • deleteAttachment

      public void deleteAttachment(Consumer<DeleteAttachmentOperationSpec> spec)
      Delete attachment

      Delete an attachment by id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the container of the attachment. Permission to delete attachments in the space.

      Parameter:
      spec - a consumer that creates the payload for this operation. Supports the following properties:
      • id: The ID of the attachment to be deleted.
    • deleteAttachmentPropertyById

      public void deleteAttachmentPropertyById(Consumer<DeleteAttachmentPropertyByIdOperationSpec> spec)
      Delete content property for attachment by id

      Deletes 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

      public void deleteBlogPost(Consumer<DeleteBlogPostOperationSpec> spec)
      Delete blog post

      Delete 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 delete blog posts in the space. 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.
    • deleteBlogpostPropertyById

      public void deleteBlogpostPropertyById(Consumer<DeleteBlogpostPropertyByIdOperationSpec> spec)
      Delete content property for blogpost by id

      Deletes 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 void deleteCommentPropertyById(Consumer<DeleteCommentPropertyByIdOperationSpec> spec)
      Delete content property for comment by id

      Deletes 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

      public void deleteCustomContent(Consumer<DeleteCustomContentOperationSpec> spec)
      Delete custom content

      Delete a custom content by id. **[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. 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.
    • deleteCustomContentPropertyById

      public void deleteCustomContentPropertyById(Consumer<DeleteCustomContentPropertyByIdOperationSpec> spec)
      Delete content property for custom content by id

      Deletes 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.
    • deleteFooterComment

      public void deleteFooterComment(Consumer<DeleteFooterCommentOperationSpec> spec)
      Delete footer comment

      Deletes a footer 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 retrieved.
    • deleteInlineComment

      public void deleteInlineComment(Consumer<DeleteInlineCommentOperationSpec> spec)
      Delete inline comment

      Deletes 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

      public void deletePage(Consumer<DeletePageOperationSpec> spec)
      Delete page

      Delete a page by id. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the page and its corresponding space. Permission to delete pages in the space. 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.
    • deletePagePropertyById

      public void deletePagePropertyById(Consumer<DeletePagePropertyByIdOperationSpec> spec)
      Delete content property for page by id

      Deletes 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 void deleteSpacePropertyById(Consumer<DeleteSpacePropertyByIdOperationSpec> spec)
      Delete space property by id

      Deletes 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.
    • getAttachmentById

      public Attachment getAttachmentById(Consumer<GetAttachmentByIdOperationSpec> spec)
      Get attachment by id

      Returns 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.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getAttachmentContentProperties

      Get content properties for attachment

      Retrieves 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of attachments per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getAttachmentContentPropertiesById

      public ContentProperty getAttachmentContentPropertiesById(Consumer<GetAttachmentContentPropertiesByIdOperationSpec> spec)
      Get content property for attachment by id

      Retrieves 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
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getAttachmentLabels

      Get labels for attachment

      Returns the labels of specific attachment. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of labels per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getAttachmentOperations

      Get permitted operations for attachment

      Returns 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 DetailedVersion getAttachmentVersionDetails(Consumer<GetAttachmentVersionDetailsOperationSpec> spec)
      Get version details for attachment version

      Retrieves 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

      Get attachment versions

      Returns 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of versions per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • sort: Used to sort the result by a particular field.
    • getAttachments

      Get attachments

      Returns all attachments. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • status: Filter the results to attachments based on their status. By default, current and archived are 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 Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getBlogPostById

      public BlogPostSingle getBlogPostById(Consumer<GetBlogPostByIdOperationSpec> spec)
      Get blog post by id

      Returns 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 body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • 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.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getBlogPostFooterComments

      Get footer comments for blog post

      Returns the root footer comments of specific blog post. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 footer comments should be returned.
      • bodyFormat: The content format type to be returned in the body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • sort: Used to sort the result by a particular field.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of footer comments per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getBlogPostInlineComments

      Get inline comments for blog post

      Returns the root inline comments of specific blog post. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • sort: Used to sort the result by a particular field.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of inline comments per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getBlogPostLabels

      Get labels for blog post

      Returns the labels of specific blog post. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of labels per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getBlogPostLikeCount

      public Integer getBlogPostLikeCount(Consumer<GetBlogPostLikeCountOperationSpec> spec)
      Get like count for blog post

      Returns 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

      Get account IDs of likes for blog post

      Returns 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of account IDs per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
    • getBlogPostOperations

      Get permitted operations for blog post

      Returns 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 DetailedVersion getBlogPostVersionDetails(Consumer<GetBlogPostVersionDetailsOperationSpec> spec)
      Get version details for blog post version

      Retrieves 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

      Get blog post versions

      Returns 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 body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of versions per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • sort: Used to sort the result by a particular field.
    • getBlogPosts

      Get blog posts

      Returns all blog posts. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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, current is used.
      • title: Filter the results to blog posts based on their title.
      • bodyFormat: The content format types to be returned in the body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of blog posts per result to return. If more results exist, use the Link response header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getBlogPostsInSpace

      Get blog posts in space

      Returns all blog posts in a space. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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, current is used.
      • title: Filter the results to blog posts based on their title.
      • bodyFormat: The content format types to be returned in the body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of blog posts per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getBlogpostAttachments

      Get attachments for blog post

      Returns the attachments of specific blog post. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • status: Filter the results to attachments based on their status. By default, current and archived are 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 Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getBlogpostContentProperties

      Get content properties for blog post

      Retrieves 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of attachments per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getBlogpostContentPropertiesById

      public ContentProperty getBlogpostContentPropertiesById(Consumer<GetBlogpostContentPropertiesByIdOperationSpec> spec)
      Get content property for blog post by id

      Retrieves 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
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getChildCustomContent

      Get child custom content

      Returns all child custom content for given custom content id. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • sort: Used to sort the result by a particular field.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getChildPages

      Get child pages

      Returns all child pages for given page id. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • sort: Used to sort the result by a particular field.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getCommentContentProperties

      Get content properties for comment

      Retrieves 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of attachments per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getCommentContentPropertiesById

      public ContentProperty getCommentContentPropertiesById(Consumer<GetCommentContentPropertiesByIdOperationSpec> spec)
      Get content property for comment by id

      Retrieves 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.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getCustomContentAttachments

      Get attachments for custom content

      Returns the attachments of specific custom content. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • status: Filter the results to attachments based on their status. By default, current and archived are 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 Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getCustomContentById

      public CustomContentSingle getCustomContentById(Consumer<GetCustomContentByIdOperationSpec> spec)
      Get custom content by id

      Returns 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 body field of the response. If available, the representation will be available under a response field of the same name under the body field. Note: If the custom content body type is storage, the storage and atlas_doc_format body formats are able to be returned. If the custom content body type is raw, only the raw body 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.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getCustomContentByType

      Get custom content by type

      Returns all custom content for a given type. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • bodyFormat: The content format types to be returned in the body field of the response. If available, the representation will be available under a response field of the same name under the body field. Note: If the custom content body type is storage, the storage and atlas_doc_format body formats are able to be returned. If the custom content body type is raw, only the raw body format is able to be returned.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getCustomContentByTypeInBlogPost

      Get custom content by type in blog post

      Returns all custom content for a given type within a given blogpost. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • bodyFormat: The content format types to be returned in the body field of the response. If available, the representation will be available under a response field of the same name under the body field. Note: If the custom content body type is storage, the storage and atlas_doc_format body formats are able to be returned. If the custom content body type is raw, only the raw body format is able to be returned.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getCustomContentByTypeInPage

      Get custom content by type in page

      Returns all custom content for a given type within a given page. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • bodyFormat: The content format types to be returned in the body field of the response. If available, the representation will be available under a response field of the same name under the body field. Note: If the custom content body type is storage, the storage and atlas_doc_format body formats are able to be returned. If the custom content body type is raw, only the raw body format is able to be returned.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getCustomContentByTypeInSpace

      Get custom content by type in space

      Returns all custom content for a given type within a given space. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • bodyFormat: The content format types to be returned in the body field of the response. If available, the representation will be available under a response field of the same name under the body field. Note: If the custom content body type is storage, the storage and atlas_doc_format body formats are able to be returned. If the custom content body type is raw, only the raw body format is able to be returned.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getCustomContentContentProperties

      Get content properties for custom content

      Retrieves 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of attachments per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getCustomContentContentPropertiesById

      public ContentProperty getCustomContentContentPropertiesById(Consumer<GetCustomContentContentPropertiesByIdOperationSpec> spec)
      Get content property for custom content by id

      Retrieves 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.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getCustomContentLabels

      Get labels for custom content

      Returns the labels for a specific piece of custom content. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of labels per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getCustomContentOperations

      Get permitted operations for custom content

      Returns 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 DetailedVersion getCustomContentVersionDetails(Consumer<GetCustomContentVersionDetailsOperationSpec> spec)
      Get version details for custom content version

      Retrieves 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

      Get custom content versions

      Returns 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 body field of the response. If available, the representation will be available under a response field of the same name under the body field. Note: If the custom content body type is storage, the storage and atlas_doc_format body formats are able to be returned. If the custom content body type is raw, only the raw body format is able to be returned.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of versions per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • sort: Used to sort the result by a particular field.
    • getFooterCommentById

      public FooterCommentModel getFooterCommentById(Consumer<GetFooterCommentByIdOperationSpec> spec)
      Get footer comment by id

      Retrieves a footer 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 body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • version: Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getFooterCommentChildren

      Get children footer comments

      Returns the children footer comments of specific comment. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 footer comment children should be returned.
      • bodyFormat: The content format type to be returned in the body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • sort: Used to sort the result by a particular field.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of footer comments per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getFooterCommentOperations

      Get permitted operations for footer comment

      Returns the permitted operations on specific footer comment. **[Permissions](https://confluence.atlassian.com/x/_AozKw) required**: Permission to view the parent content of the footer 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 footer comment for which operations should be returned.
    • getFooterCommentVersionDetails

      public DetailedVersion getFooterCommentVersionDetails(Consumer<GetFooterCommentVersionDetailsOperationSpec> spec)
      Get version details for footer comment version

      Retrieves version details for the specified footer 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 footer comment for which version details should be returned.
      • versionNumber: The version number of the footer comment to be returned.
    • getFooterCommentVersions

      Get footer comment versions

      Retrieves the versions of the specified footer 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 footer comment for which versions should be returned
      • bodyFormat: The content format types to be returned in the body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of versions per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • sort: Used to sort the result by a particular field.
    • getFooterComments

      Get footer comments

      Returns all footer comments. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • sort: Used to sort the result by a particular field.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of footer comments per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getFooterLikeCount

      public Integer getFooterLikeCount(Consumer<GetFooterLikeCountOperationSpec> spec)
      Get like count for footer comment

      Returns the count of likes of specific footer 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 footer comment for which like count should be returned.
    • getFooterLikeUsers

      Get account IDs of likes for footer comment

      Returns the account IDs of likes of specific footer 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 footer comment for which like count should be returned.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of account IDs per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
    • getInlineCommentById

      public InlineCommentModel getInlineCommentById(Consumer<GetInlineCommentByIdOperationSpec> spec)
      Get inline comment by id

      Retrieves 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 body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • version: Allows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getInlineCommentChildren

      Get children inline comments

      Returns the children inline comments of specific comment. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
      • bodyFormat: The content format type to be returned in the body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • sort: Used to sort the result by a particular field.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of footer comments per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
    • getInlineCommentOperations

      Get permitted operations for inline comment

      Returns 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 DetailedVersion getInlineCommentVersionDetails(Consumer<GetInlineCommentVersionDetailsOperationSpec> spec)
      Get version details for inline comment version

      Retrieves 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

      Get inline comment versions

      Retrieves 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 body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of versions per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • sort: Used to sort the result by a particular field.
    • getInlineComments

      Get inline comments

      Returns all inline comments. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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:
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
      • bodyFormat: The content format type to be returned in the body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • sort: Used to sort the result by a particular field.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of footer comments per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
    • getInlineLikeCount

      public Integer getInlineLikeCount(Consumer<GetInlineLikeCountOperationSpec> spec)
      Get like count for inline comment

      Returns 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

      Get account IDs of likes for inline comment

      Returns 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of account IDs per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
    • getLabelAttachments

      Get attachments for label

      Returns the attachments of specified label. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getLabelBlogPosts

      Get blog posts for label

      Returns the blogposts of specified label. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • sort: Used to sort the result by a particular field.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of blog posts per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getLabelPages

      Get pages for label

      Returns the pages of specified label. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • sort: Used to sort the result by a particular field.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getPageAncestors

      Get all ancestors of page

      Returns 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 limit parameter 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

      Get attachments for page

      Returns the attachments of specific page. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • status: Filter the results to attachments based on their status. By default, current and archived are 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 Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getPageById

      public PageSingle getPageById(Consumer<GetPageByIdOperationSpec> spec)
      Get page by id

      Returns 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 body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • 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.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getPageContentProperties

      Get content properties for page

      Retrieves 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of attachments per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getPageContentPropertiesById

      public ContentProperty getPageContentPropertiesById(Consumer<GetPageContentPropertiesByIdOperationSpec> spec)
      Get content property for page by id

      Retrieves 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.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getPageFooterComments

      Get footer comments for page

      Returns the root footer comments of specific page. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 footer comments should be returned.
      • bodyFormat: The content format type to be returned in the body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • sort: Used to sort the result by a particular field.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of footer comments per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getPageInlineComments

      Get inline comments for page

      Returns the root inline comments of specific page. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • sort: Used to sort the result by a particular field.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of inline comments per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getPageLabels

      Get labels for page

      Returns the labels of specific page. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of labels per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getPageLikeCount

      public Integer getPageLikeCount(Consumer<GetPageLikeCountOperationSpec> spec)
      Get like count for page

      Returns 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

      Get account IDs of likes for page

      Returns 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of account IDs per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
    • getPageOperations

      Get permitted operations for page

      Returns 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 DetailedVersion getPageVersionDetails(Consumer<GetPageVersionDetailsOperationSpec> spec)
      Get version details for page version

      Retrieves 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

      Get page versions

      Returns 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 body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of versions per result to return. If more results exist, use the Link header 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 pages

      Returns all pages. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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, current and archived are used.
      • title: Filter the results to pages based on their title.
      • bodyFormat: The content format types to be returned in the body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getPagesInSpace

      Get pages in space

      Returns all pages in a space. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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, current and archived are used.
      • title: Filter the results to pages based on their title.
      • bodyFormat: The content format types to be returned in the body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getSpaceById

      public Space getSpaceById(Consumer<GetSpaceByIdOperationSpec> spec)
      Get space by id

      Returns 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 description field of the response. If available, the representation will be available under a response field of the same name under the description field.
      • includeIcon: If the icon for the space should be fetched or not.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getSpaceOperations

      Get permitted operations for space

      Returns 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

      Get space permissions

      Returns 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of spaces per result to return. If more results exist, use the Link response header to retrieve a relative URL that will return the next set of results.
    • getSpaceProperties

      Get space properties in space

      Returns 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 link response 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of pages per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getSpacePropertyById

      public SpaceProperty getSpacePropertyById(Consumer<GetSpacePropertyByIdOperationSpec> spec)
      Get space property by id

      Retrieve 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.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getSpaces

      Get spaces

      Returns all spaces. The results will be sorted by id ascending. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 description field of the response. If available, the representation will be available under a response field of the same name under the description field.
      • includeIcon: If the icon for the space should be fetched or not.
      • cursor: Used for pagination, this opaque cursor will be returned in the next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of spaces per result to return. If more results exist, use the Link response header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getTaskById

      public Task getTaskById(Consumer<GetTaskByIdOperationSpec> spec)
      Get task by id

      Returns 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 body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • getTasks

      Get tasks

      Returns all tasks. The number of results is limited by the limit parameter and additional results (if available) will be available through the next URL present in the Link response 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 body field of the response. If available, the representation will be available under a response field of the same name under the body field.
      • 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 next URL in the Link response header. Use the relative URL in the Link header to retrieve the next set of results.
      • limit: Maximum number of tasks per result to return. If more results exist, use the Link header to retrieve a relative URL that will return the next set of results.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • inviteByEmail

      public void inviteByEmail(Consumer<InviteByEmailOperationSpec> spec)
      Invite a list of emails to the site

      Invite 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 ContentProperty updateAttachmentPropertyById(Consumer<UpdateAttachmentPropertyByIdOperationSpec> spec)
      Update content property for attachment by id

      Update 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.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • updateBlogPost

      public BlogPostSingle updateBlogPost(Consumer<UpdateBlogPostOperationSpec> spec)
      Update blog post

      Update 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:
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • updateBlogpostPropertyById

      public ContentProperty updateBlogpostPropertyById(Consumer<UpdateBlogpostPropertyByIdOperationSpec> spec)
      Update content property for blog post by id

      Update 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.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • updateCommentPropertyById

      public ContentProperty updateCommentPropertyById(Consumer<UpdateCommentPropertyByIdOperationSpec> spec)
      Update content property for comment by id

      Update 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.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • updateCustomContent

      Update custom content

      Update a custom content by id. spaceId is always required and maximum one of pageId, blogPostId, or customContentId is 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:
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • updateCustomContentPropertyById

      public ContentProperty updateCustomContentPropertyById(Consumer<UpdateCustomContentPropertyByIdOperationSpec> spec)
      Update content property for custom content by id

      Update 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.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • updateFooterComment

      public FooterCommentModel updateFooterComment(Consumer<UpdateFooterCommentOperationSpec> spec)
      Update footer comment

      Update a footer comment. This can be used to update the body text of a 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.
      • updateFooterCommentModel: The footer comment to be created
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • updateInlineComment

      public InlineCommentModel updateInlineComment(Consumer<UpdateInlineCommentOperationSpec> spec)
      Update inline comment

      Update 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
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • updatePage

      public PageSingle updatePage(Consumer<UpdatePageOperationSpec> spec)
      Update page

      Update 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:
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • updatePagePropertyById

      public ContentProperty updatePagePropertyById(Consumer<UpdatePagePropertyByIdOperationSpec> spec)
      Update content property for page by id

      Update 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.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • updateSpacePropertyById

      public SpaceProperty updateSpacePropertyById(Consumer<UpdateSpacePropertyByIdOperationSpec> spec)
      Update space property by id

      Update 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.
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.
    • updateTask

      public Task updateTask(Consumer<UpdateTaskOperationSpec> spec)
      Update task

      Update 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:
      • serializeIdsAsStrings: Due to JavaScript's max integer representation of 2^53-1, the type of any IDs returned in the response body for this endpoint will be changed from a numeric type to a string type at the end of the deprecation period. In the meantime, this query param can be passed to this endpoint to opt-in to this change now. See this [changelog](https://developer.atlassian.com/cloud/confluence/changelog/#CHANGE-905) for more detail.