{ "opencollection": "1.0.0", "info": { "name": "Atlassian Admin Account Publishes API", "version": "1.0.0" }, "request": { "auth": { "type": "bearer", "token": "{{bearerToken}}" } }, "items": [ { "info": { "name": "Publishes", "type": "folder" }, "items": [ { "info": { "name": "Atlassian Set the Content State of Content and Publishes New Version of the Content", "type": "http" }, "http": { "method": "PUT", "url": "https://api.atlassian.com/wiki/rest/api/content/:id/state", "params": [ { "name": "id", "value": "", "type": "path", "description": "The Id of the content whose content state is to be set." }, { "name": "status", "value": "", "type": "query", "description": "Status of content onto which state will be placed. If draft, then draft state will change.\nIf current, state will be placed onto a new version of the content with same body as previous version." } ], "body": { "type": "json", "data": "{}" } }, "docs": "This API operation allows you to set or update the content state of a specific Confluence page or blog post by its ID, which triggers the creation and publication of a new version of that content. When invoked via a PUT request to the endpoint, it accepts the content ID as a path parameter and the desired state information in the request body, then applies that state to the content item while automatically incrementing its version number. This is particularly useful for implementing workflow sta" }, { "info": { "name": "Atlassian Removes the Content State of Content and Publishes New Version", "type": "http" }, "http": { "method": "DELETE", "url": "https://api.atlassian.com/wiki/rest/api/content/:id/state", "params": [ { "name": "id", "value": "", "type": "path", "description": "The Id of the content whose content state is to be set." }, { "name": "status", "value": "", "type": "query", "description": "status of content state from which to delete state. Can be draft or archived" } ] }, "docs": "This API operation removes the current content state from a specified Confluence page or blog post and automatically publishes a new version of that content. By sending a DELETE request to the endpoint with the content ID, the system clears any workflow or review state that was previously applied to the content item, essentially resetting it to a stateless condition. This action is irreversible and creates a new version in the content's history, allowing teams to track when state information was" } ] } ], "bundled": true }