Content states

Get content 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.

get/wiki/rest/api/content/{id}/state

Request

  • Base URL
    https://your-domain.atlassian.net
  • URL
    https://your-domain.atlassian.net/wiki/rest/api/content/{id}/state
  • Auth
    • HTTP basic
    • or OAuth 2
      Authorization code: https://auth.atlassian.com/authorize
      Token URL: https://auth.atlassian.com/oauth/token scopes: read:confluence-content.summary

Path parameters

idstring required

The id of the content whose content state is of interest.

Query parameters

status'current' | 'draft' | 'archived'

Set status to one of [current,draft,archived]. Default value is current.

Response

Returned if permission allows viewing of content.

lastUpdatedstring

Timestamp of last publish event where content state changed

Changes

No recorded changes to this operation across all 2 revisions of this API.