Moves a piece of content to the space's trash or purges it from the trash, depending on the content's type and status:
If the content's type is page or blogpost and its status is current, it will be trashed.
If the content's type is page or blogpost and its status is trashed, the content will be purged from the trash and deleted permanently. Note, you must also set the status query parameter to trashed in your request.
If the content's type is comment or attachment, it will be deleted permanently without being trashed.
Returns the most recent update for a piece of content.
Search Contents by CQL
GET /wiki/rest/api/content/search
Returns the list of content that matches a Confluence Query Language (CQL) query. For information on CQL, see: Advanced searching using CQL.
Archive Pages
POST /wiki/rest/api/content/archive
Archives a list of pages. The pages to be archived are specified as a list of content IDs. This API accepts the archival request and returns a task ID.
The archival process happens asynchronously. Use the /longtask/ REST API to get the copy task status.