Content states

Get space suggested content states

Get content states that are suggested in the space.

Permissions required: 'View' permission for the space.

get/wiki/rest/api/space/{spaceKey}/state

Request

  • Base URL
    https://your-domain.atlassian.net
  • URL
    https://your-domain.atlassian.net/wiki/rest/api/space/{spaceKey}/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-space.summary

Path parameters

spaceKeystring required

The key of the space to be queried for its content state settings.

Response

Returned if the requested space exists, and user has space view permission.

idinteger required

identifier of content state. If 0, 1, or 2, this is a default space state

namestring required

name of content state.

colorstring required

hex string representing color of state

Changes

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