InternalCreate a new instance of the service.
Create a footer comment.
The footer comment can be made against several locations:
Permissions required: Permission to view the content of the page or blogpost and its corresponding space. Permission to create comments in the space.
The footer comment to be created
Returned if the footer comment is created.
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 required: Permission to view the content of the page or blogpost and its corresponding space. Permission to create comments in the space.
The inline comment to be created
Returned if the inline comment is created.
Deletes a footer comment. This is a permanent deletion and cannot be reverted.
Permissions required: Permission to view the content of the page or blogpost and its corresponding space. Permission to delete comments in the space.
The ID of the comment to be retrieved.
Deletes an inline comment. This is a permanent deletion and cannot be reverted.
Permissions required: Permission to view the content of the page or blogpost and its corresponding space. Permission to delete comments in the space.
The ID of the comment to be deleted.
Returns the comments of the 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 required: Permission to view the attachment and its corresponding containers.
OptionalbodyThe 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.
Optionalcursor?: stringUsed 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.
The ID of the attachment for which comments should be returned.
Optionallimit?: numberMaximum number of 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.
Optionalsort?: CommentSortOrderUsed to sort the result by a particular field.
Optionalversion?: numberVersion number of the attachment to retrieve comments for. If no version provided, retrieves comments for the latest version.
Returned if the attachment comments were successfully retrieved
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 required: Permission to view the content of the blog post and its corresponding space.
OptionalbodyThe 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.
Optionalcursor?: stringUsed 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.
The ID of the blog post for which footer comments should be returned.
Optionallimit?: numberMaximum 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.
Optionalsort?: CommentSortOrderUsed to sort the result by a particular field.
Optionalstatus?: (Filter the footer comment being retrieved by its status.
Returned if the requested footer comments are returned.
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 required: Permission to view the content of the blog post and its corresponding space.
OptionalbodyThe 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.
Optionalcursor?: stringUsed 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.
The ID of the blog post for which inline comments should be returned.
Optionallimit?: numberMaximum 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.
OptionalresolutionFilter the inline comment being retrieved by its resolution status.
Optionalsort?: CommentSortOrderUsed to sort the result by a particular field.
Optionalstatus?: (Filter the inline comment being retrieved by its status.
Returned if the requested inline comments are returned.
Returns the comments of the 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 required: Permission to view the custom content and its corresponding containers.
OptionalbodyThe 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.
Optionalcursor?: stringUsed 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.
The ID of the custom content for which comments should be returned.
Optionallimit?: numberMaximum number of 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.
Optionalsort?: CommentSortOrderUsed to sort the result by a particular field.
Returned if the custom content comments were successfully retrieved
Retrieves a footer comment by id
Permissions required: Permission to view the content of the container and its corresponding space.
OptionalbodyThe 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.
The ID of the comment to be retrieved.
OptionalincludeIncludes likes associated with this footer comment in the response.
The number of results will be limited to 50 and sorted in the default sort
order.
A meta and _links property will be present to indicate if more results are
available and a link to retrieve the rest of the results.
OptionalincludeIncludes operations associated with this footer comment in the response, as
defined in the Operation object.
The number of results will be limited to 50 and sorted in the default sort
order.
A meta and _links property will be present to indicate if more results are
available and a link to retrieve the rest of the results.
OptionalincludeIncludes content properties associated with this footer comment in the response.
The number of results will be limited to 50 and sorted in the default sort
order.
A meta and _links property will be present to indicate if more results are
available and a link to retrieve the rest of the results.
OptionalincludeIncludes the current version associated with this footer comment in the
response.
By default this is included and can be omitted by setting the value to false.
OptionalincludeIncludes versions associated with this footer comment in the response.
The number of results will be limited to 50 and sorted in the default sort
order.
A meta and _links property will be present to indicate if more results are
available and a link to retrieve the rest of the results.
Optionalversion?: numberAllows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.
Returned if the footer comment is successfully retrieved.
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 required: Permission to view the content of the page and its corresponding space.
OptionalbodyThe 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.
Optionalcursor?: stringUsed 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.
The ID of the parent comment for which footer comment children should be returned.
Optionallimit?: numberMaximum 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.
Optionalsort?: CommentSortOrderUsed to sort the result by a particular field.
Returned if the requested footer comments are returned.
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 required: Permission to view the content of the container and its corresponding space.
OptionalbodyThe 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.
Optionalcursor?: stringUsed 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.
Optionallimit?: numberMaximum 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.
Optionalsort?: CommentSortOrderUsed to sort the result by a particular field.
Returned if the requested footer comments are returned.
Retrieves an inline comment by id
Permissions required: Permission to view the content of the page or blogpost and its corresponding space.
OptionalbodyThe 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.
The ID of the comment to be retrieved.
OptionalincludeIncludes likes associated with this inline comment in the response.
The number of results will be limited to 50 and sorted in the default sort
order.
A meta and _links property will be present to indicate if more results are
available and a link to retrieve the rest of the results.
OptionalincludeIncludes operations associated with this inline comment in the response, as
defined in the Operation object.
The number of results will be limited to 50 and sorted in the default sort
order.
A meta and _links property will be present to indicate if more results are
available and a link to retrieve the rest of the results.
OptionalincludeIncludes content properties associated with this inline comment in the response.
The number of results will be limited to 50 and sorted in the default sort
order.
A meta and _links property will be present to indicate if more results are
available and a link to retrieve the rest of the results.
OptionalincludeIncludes the current version associated with this inline comment in the
response.
By default this is included and can be omitted by setting the value to false.
OptionalincludeIncludes versions associated with this inline comment in the response.
The number of results will be limited to 50 and sorted in the default sort
order.
A meta and _links property will be present to indicate if more results are
available and a link to retrieve the rest of the results.
Optionalversion?: numberAllows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.
Returned if the inline comment is successfully retrieved.
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 required: Permission to view the content of the page and its corresponding space.
OptionalbodyThe 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.
Optionalcursor?: stringUsed 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.
The ID of the parent comment for which inline comment children should be returned.
Optionallimit?: numberMaximum 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.
Optionalsort?: CommentSortOrderUsed to sort the result by a particular field.
Returned if the requested footer comments are returned.
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 required: Permission to view the content of the page and its corresponding space.
OptionalbodyThe 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.
Optionalcursor?: stringUsed 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.
Optionallimit?: numberMaximum 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.
Optionalsort?: CommentSortOrderUsed to sort the result by a particular field.
Returned if the requested inline comments are returned.
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 required: Permission to view the content of the page and its corresponding space.
OptionalbodyThe 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.
Optionalcursor?: stringUsed 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.
The ID of the page for which footer comments should be returned.
Optionallimit?: numberMaximum 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.
Optionalsort?: CommentSortOrderUsed to sort the result by a particular field.
Optionalstatus?: (Filter the footer comment being retrieved by its status.
Returned if the requested footer comments are returned.
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 required: Permission to view the content of the page and its corresponding space.
OptionalbodyThe 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.
Optionalcursor?: stringUsed 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.
The ID of the page for which inline comments should be returned.
Optionallimit?: numberMaximum 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.
OptionalresolutionFilter the inline comment being retrieved by its resolution status.
Optionalsort?: CommentSortOrderUsed to sort the result by a particular field.
Optionalstatus?: (Filter the inline comment being retrieved by its status.
Returned if the requested inline comments are returned.
Update a footer comment. This can be used to update the body text of a comment.
Permissions required: Permission to view the content of the page or blogpost and its corresponding space. Permission to create comments in the space.
The ID of the comment to be retrieved.
The footer comment to be created
Returned if the footer comment is updated successfully
Update an inline comment. This can be used to update the body text of a comment and/or to resolve the comment
Permissions required: Permission to view the content of the page or blogpost and its corresponding space. Permission to create comments in the space.
The ID of the comment to be retrieved.
The inline comment to be updated
Returned if the inline comment is updated successfully.
Protected Staticinitialize
See
https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-comment