InternalCreate a new instance of the service.
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 required: Permission to view the corresponding space. Permission to create a page in the space.
Optionalembedded?: booleanTag the content as embedded and content will be created in NCS.
Optionalprivate?: booleanThe page will be private. Only the user who creates this page will have permission to view and edit one.
OptionalrootThe page will be created at the root level of the space (outside the space
homepage tree). If true, then a
value may not be supplied for the parentId body parameter.
Returned if the page was successfully created.
Delete a page by id.
By default this will delete pages that are non-drafts. To delete a page that is
a draft, the endpoint must be called on a
draft with the following param draft=true. Discarded drafts are not sent to
the trash and are permanently deleted.
Deleting a page moves the page to the trash, where it can be restored later. To
permanently delete a page (or "purge" it),
the endpoint must be called on a trashed page with the following param
purge=true.
Permissions required: Permission to view the page and its corresponding space. Permission to delete pages in the space. Permission to administer the space (if attempting to purge).
Optionaldraft?: booleanIf attempting to delete a page that is a draft.
The ID of the page to be deleted.
Optionalpurge?: booleanIf attempting to purge the page.
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 required: Permission to view the content of the page and its corresponding space.
OptionalbodyThe 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.
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 label for which pages should be returned.
Optionallimit?: numberMaximum 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.
Optionalsort?: PageSortOrderUsed to sort the result by a particular field.
OptionalspaceFilter the results based on space ids. Multiple space ids can be specified as a comma-separated list.
Returned if the requested pages for specified label were successfully fetched.
Returns a specific page.
Permissions required: Permission to view the page and its corresponding space.
OptionalbodyThe 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.
OptionalgetRetrieve the draft version of this page.
The ID of the page to be returned. If you don't know the page ID, use Get pages and filter the results.
OptionalincludeIncludes collaborators on the page.
OptionalincludeIncludes direct children of the page, as defined in the ChildrenResponse
object.
OptionalincludeIncludes whether this page has been favorited by the current user.
OptionalincludeIncludes labels associated with this page 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 likes associated with this page 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 page 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 page 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 page in the response.
By default this is included and can be omitted by setting the value to false.
OptionalincludeIncludes versions associated with this page 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 web resources that can be used to render page content on a client.
Optionalstatus?: (Filter the page being retrieved by its status.
Optionalversion?: numberAllows you to retrieve a previously published version. Specify the previous version's number to retrieve its details.
Returned if the requested page is returned.
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 required: Permission to access the Confluence site ('Can use' global permission). Only pages that the user has permission to view will be returned.
OptionalbodyThe 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.
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.
Optionalid?: number[]Filter the results based on page ids. Multiple page ids can be specified as a comma-separated list.
Optionallimit?: numberMaximum 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.
Optionalsort?: PageSortOrderUsed to sort the result by a particular field.
OptionalspaceFilter the results based on space ids. Multiple space ids can be specified as a comma-separated list.
Optionalstatus?: (Filter the results to pages based on their status. By default, current and
archived are used.
Optionalsubtype?: "page" | "live"Filter the results to pages based on their subtype.
Optionaltitle?: stringFilter the results to pages based on their title.
Returned if the requested pages are returned.
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 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.
OptionalbodyThe 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.
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.
Optionaldepth?: "all" | "root"Filter the results to pages at the root level of the space or to all pages in the space.
The ID of the space for which pages should be returned.
Optionallimit?: numberMaximum 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.
Optionalsort?: PageSortOrderUsed to sort the result by a particular field.
Optionalstatus?: (Filter the results to pages based on their status. By default, current and
archived are used.
Optionaltitle?: stringFilter the results to pages based on their title.
Returned if the requested pages are returned.
Update a page by id.
When the "current" version is updated, the provided body content is considered as the latest version. This latest body content will be attempted to be merged into the draft version through a content reconciliation algorithm. If two versions are significantly diverged, the latest provided content may entirely override what was previously in the draft.
Permissions required: Permission to view the page and its corresponding space. Permission to update pages in the space.
The ID of the page to be updated. If you don't know the page ID, use Get Pages and filter the results.
Returned if the requested page is successfully updated.
Updates the title of a specified page.
Permissions required: Permission to view the page and its corresponding space. Permission to update pages in the space.
The ID of the page to be updated. If you don't know the page ID, use Get Pages and filter the results
Returned if the requested page is successfully updated.
Protected Staticinitialize
See
https://developer.atlassian.com/cloud/confluence/rest/v2/api-group-page