v1

latestOpenAPI 3.0.12026-07-13130168404.3 KB
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

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