GET /wiki/rest/api/content/{id}/state
Gets the current content state of the draft or current version of content. To specify the draft version, set the parameter status to draft, otherwise archived or current will get the relevant published state. Permissions required: Permission to view the content.
Servers
- https://your-domain.atlassian.net
Path parameters
Name | Type | Required | Description |
---|---|---|---|
id |
String | Yes |
The id of the content whose content state is of interest. |
Query parameters
Name | Type | Required | Description |
---|---|---|---|
status |
String | No |
Set status to one of [current,draft,archived]. Default value is current. Possible values:
Default value: "current" |
How to start integrating
- Add HTTP Task to your workflow definition.
- Search for the API you want to integrate with and click on the name.
- This loads the API reference documentation and prepares the Http request settings.
- Click Test request to test run your request to the API and see the API's response.