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

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:

  • "current"
  • "archived"
  • "draft"

Default value: "current"

How to start integrating

  1. Add HTTP Task to your workflow definition.
  2. 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.
  3. Click Test request to test run your request to the API and see the API's response.