Atlassian · Capability

Atlassian The Confluence Cloud REST API — Content States

Atlassian The Confluence Cloud REST API — Content States. 11 operations. Lead operation: Atlassian Bulk Set Content State Of Many Contents. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianContent States

What You Can Do

PUT
Atlassianbulksetcontentstates — Atlassian Bulk Set Content State Of Many Contents
/v1/wiki/rest/api/content-states
GET
Atlassiangetcustomcontentstates — Atlassian Get Custom Content States
/v1/wiki/rest/api/content-states
POST
Atlassianbulkremovecontentstates — Atlassian Bulk Remove Content States From Content
/v1/wiki/rest/api/content-states/delete
GET
Atlassiangettaskupdate — Atlassian Get Update On Long Running Task For Setting Of Content State
/v1/wiki/rest/api/content-states/task/{taskid}
GET
Atlassiangetcontentstate — Atlassian Get Content State
/v1/wiki/rest/api/content/{id}/state
PUT
Atlassiansetcontentstate — Atlassian Set The Content State Of A Content And Publishes A New Version Of The Content
/v1/wiki/rest/api/content/{id}/state
DELETE
Atlassianremovecontentstate — Atlassian Removes The Content State Of A Content And Publishes A New Version
/v1/wiki/rest/api/content/{id}/state
GET
Atlassiangetavailablecontentstates — Atlassian Gets Available Content States For Content
/v1/wiki/rest/api/content/{id}/state/available
GET
Atlassiangetspacecontentstates — Atlassian Get Space Suggested Content States
/v1/wiki/rest/api/space/{spacekey}/state
GET
Atlassiangetcontentswithstate — Atlassian Get Content In Space With Given Content State
/v1/wiki/rest/api/space/{spacekey}/state/content
GET
Atlassiangetcontentstatesettings — Atlassian Get Content State Settings For Space
/v1/wiki/rest/api/space/{spacekey}/state/settings

MCP Tools

atlassian-bulk-set-content-state

Atlassian Bulk Set Content State Of Many Contents

idempotent
atlassian-get-custom-content-states

Atlassian Get Custom Content States

read-only idempotent
atlassian-bulk-remove-content-states

Atlassian Bulk Remove Content States From Content

atlassian-get-update-long-running

Atlassian Get Update On Long Running Task For Setting Of Content State

read-only idempotent
atlassian-get-content-state

Atlassian Get Content State

read-only idempotent
atlassian-set-content-state-content

Atlassian Set The Content State Of A Content And Publishes A New Version Of The Content

idempotent
atlassian-removes-content-state-content

Atlassian Removes The Content State Of A Content And Publishes A New Version

idempotent
atlassian-gets-available-content-states

Atlassian Gets Available Content States For Content

read-only idempotent
atlassian-get-space-suggested-content

Atlassian Get Space Suggested Content States

read-only idempotent
atlassian-get-content-space-given

Atlassian Get Content In Space With Given Content State

read-only idempotent
atlassian-get-content-state-settings

Atlassian Get Content State Settings For Space

read-only idempotent

Capability Spec

confluence-content-states-2.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian The Confluence Cloud REST API — Content States
  description: 'Atlassian The Confluence Cloud REST API — Content States. 11 operations. Lead operation: Atlassian Bulk Set
    Content State Of Many Contents. Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Content States
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: confluence-content-states-2
    baseUri: ''
    description: Atlassian The Confluence Cloud REST API — Content States business capability. Self-contained, no shared references.
    resources:
    - name: wiki-rest-api-content-states
      path: /wiki/rest/api/content-states
      operations:
      - name: atlassianbulksetcontentstates
        method: PUT
        description: Atlassian Bulk Set Content State Of Many Contents
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: Set status to one of [current,draft].
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: atlassiangetcustomcontentstates
        method: GET
        description: Atlassian Get Custom Content States
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: wiki-rest-api-content-states-delete
      path: /wiki/rest/api/content-states/delete
      operations:
      - name: atlassianbulkremovecontentstates
        method: POST
        description: Atlassian Bulk Remove Content States From Content
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: status
          in: query
          type: string
          description: Set status to one of [current,draft].
          required: true
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: false
    - name: wiki-rest-api-content-states-task-taskId
      path: /wiki/rest/api/content-states/task/{taskId}
      operations:
      - name: atlassiangettaskupdate
        method: GET
        description: Atlassian Get Update On Long Running Task For Setting Of Content State
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: taskId
          in: path
          type: string
          description: taskId returned by put or delete requests to /wiki/rest/api/content-states
          required: true
    - name: wiki-rest-api-content-id-state
      path: /wiki/rest/api/content/{id}/state
      operations:
      - name: atlassiangetcontentstate
        method: GET
        description: Atlassian Get Content State
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The id of the content whose content state is of interest.
          required: true
        - name: status
          in: query
          type: string
          description: Set status to one of [current,draft,archived]. Default value is current.
      - name: atlassiansetcontentstate
        method: PUT
        description: Atlassian Set The Content State Of A Content And Publishes A New Version Of The Content
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The Id of the content whose content state is to be set.
          required: true
        - name: status
          in: query
          type: string
          description: Status of content onto which state will be placed. If draft, then draft state will change.
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: atlassianremovecontentstate
        method: DELETE
        description: Atlassian Removes The Content State Of A Content And Publishes A New Version
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The Id of the content whose content state is to be set.
          required: true
        - name: status
          in: query
          type: string
          description: status of content state from which to delete state. Can be draft or archived
    - name: wiki-rest-api-content-id-state-available
      path: /wiki/rest/api/content/{id}/state/available
      operations:
      - name: atlassiangetavailablecontentstates
        method: GET
        description: Atlassian Gets Available Content States For Content
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: id of content to get available states for
          required: true
    - name: wiki-rest-api-space-spaceKey-state
      path: /wiki/rest/api/space/{spaceKey}/state
      operations:
      - name: atlassiangetspacecontentstates
        method: GET
        description: Atlassian Get Space Suggested Content States
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: spaceKey
          in: path
          type: string
          description: The key of the space to be queried for its content state settings.
          required: true
    - name: wiki-rest-api-space-spaceKey-state-content
      path: /wiki/rest/api/space/{spaceKey}/state/content
      operations:
      - name: atlassiangetcontentswithstate
        method: GET
        description: Atlassian Get Content In Space With Given Content State
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: spaceKey
          in: path
          type: string
          description: The key of the space to be queried for its content state settings.
          required: true
        - name: state-id
          in: query
          type: integer
          description: The id of the content state to filter content by
          required: true
        - name: expand
          in: query
          type: array
          description: A multi-value parameter indicating which properties of the content to expand.
        - name: limit
          in: query
          type: integer
          description: Maximum number of results to return
        - name: start
          in: query
          type: integer
          description: Number of result to start returning. (0 indexed)
    - name: wiki-rest-api-space-spaceKey-state-settings
      path: /wiki/rest/api/space/{spaceKey}/state/settings
      operations:
      - name: atlassiangetcontentstatesettings
        method: GET
        description: Atlassian Get Content State Settings For Space
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: spaceKey
          in: path
          type: string
          description: The key of the space to be queried for its content state settings.
          required: true
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: confluence-content-states-2-rest
    port: 8080
    description: REST adapter for Atlassian The Confluence Cloud REST API — Content States. One Spectral-compliant resource
      per consumed operation, prefixed with /v1.
    resources:
    - path: /v1/wiki/rest/api/content-states
      name: wiki-rest-api-content-states
      description: REST surface for wiki-rest-api-content-states.
      operations:
      - method: PUT
        name: atlassianbulksetcontentstates
        description: Atlassian Bulk Set Content State Of Many Contents
        call: confluence-content-states-2.atlassianbulksetcontentstates
        with:
          status: rest.status
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: atlassiangetcustomcontentstates
        description: Atlassian Get Custom Content States
        call: confluence-content-states-2.atlassiangetcustomcontentstates
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/content-states/delete
      name: wiki-rest-api-content-states-delete
      description: REST surface for wiki-rest-api-content-states-delete.
      operations:
      - method: POST
        name: atlassianbulkremovecontentstates
        description: Atlassian Bulk Remove Content States From Content
        call: confluence-content-states-2.atlassianbulkremovecontentstates
        with:
          status: rest.status
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/content-states/task/{taskid}
      name: wiki-rest-api-content-states-task-taskid
      description: REST surface for wiki-rest-api-content-states-task-taskId.
      operations:
      - method: GET
        name: atlassiangettaskupdate
        description: Atlassian Get Update On Long Running Task For Setting Of Content State
        call: confluence-content-states-2.atlassiangettaskupdate
        with:
          taskId: rest.taskId
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/content/{id}/state
      name: wiki-rest-api-content-id-state
      description: REST surface for wiki-rest-api-content-id-state.
      operations:
      - method: GET
        name: atlassiangetcontentstate
        description: Atlassian Get Content State
        call: confluence-content-states-2.atlassiangetcontentstate
        with:
          id: rest.id
          status: rest.status
        outputParameters:
        - type: object
          mapping: $.
      - method: PUT
        name: atlassiansetcontentstate
        description: Atlassian Set The Content State Of A Content And Publishes A New Version Of The Content
        call: confluence-content-states-2.atlassiansetcontentstate
        with:
          id: rest.id
          status: rest.status
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: atlassianremovecontentstate
        description: Atlassian Removes The Content State Of A Content And Publishes A New Version
        call: confluence-content-states-2.atlassianremovecontentstate
        with:
          id: rest.id
          status: rest.status
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/content/{id}/state/available
      name: wiki-rest-api-content-id-state-available
      description: REST surface for wiki-rest-api-content-id-state-available.
      operations:
      - method: GET
        name: atlassiangetavailablecontentstates
        description: Atlassian Gets Available Content States For Content
        call: confluence-content-states-2.atlassiangetavailablecontentstates
        with:
          id: rest.id
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/space/{spacekey}/state
      name: wiki-rest-api-space-spacekey-state
      description: REST surface for wiki-rest-api-space-spaceKey-state.
      operations:
      - method: GET
        name: atlassiangetspacecontentstates
        description: Atlassian Get Space Suggested Content States
        call: confluence-content-states-2.atlassiangetspacecontentstates
        with:
          spaceKey: rest.spaceKey
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/space/{spacekey}/state/content
      name: wiki-rest-api-space-spacekey-state-content
      description: REST surface for wiki-rest-api-space-spaceKey-state-content.
      operations:
      - method: GET
        name: atlassiangetcontentswithstate
        description: Atlassian Get Content In Space With Given Content State
        call: confluence-content-states-2.atlassiangetcontentswithstate
        with:
          spaceKey: rest.spaceKey
          state-id: rest.state-id
          expand: rest.expand
          limit: rest.limit
          start: rest.start
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/wiki/rest/api/space/{spacekey}/state/settings
      name: wiki-rest-api-space-spacekey-state-settings
      description: REST surface for wiki-rest-api-space-spaceKey-state-settings.
      operations:
      - method: GET
        name: atlassiangetcontentstatesettings
        description: Atlassian Get Content State Settings For Space
        call: confluence-content-states-2.atlassiangetcontentstatesettings
        with:
          spaceKey: rest.spaceKey
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: confluence-content-states-2-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian The Confluence Cloud REST API — Content States. One tool per consumed operation,
      routed inline through this capability's consumes block.
    tools:
    - name: atlassian-bulk-set-content-state
      description: Atlassian Bulk Set Content State Of Many Contents
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: confluence-content-states-2.atlassianbulksetcontentstates
      with:
        status: tools.status
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-custom-content-states
      description: Atlassian Get Custom Content States
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: confluence-content-states-2.atlassiangetcustomcontentstates
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-bulk-remove-content-states
      description: Atlassian Bulk Remove Content States From Content
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: confluence-content-states-2.atlassianbulkremovecontentstates
      with:
        status: tools.status
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-update-long-running
      description: Atlassian Get Update On Long Running Task For Setting Of Content State
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: confluence-content-states-2.atlassiangettaskupdate
      with:
        taskId: tools.taskId
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-content-state
      description: Atlassian Get Content State
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: confluence-content-states-2.atlassiangetcontentstate
      with:
        id: tools.id
        status: tools.status
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-set-content-state-content
      description: Atlassian Set The Content State Of A Content And Publishes A New Version Of The Content
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: confluence-content-states-2.atlassiansetcontentstate
      with:
        id: tools.id
        status: tools.status
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-removes-content-state-content
      description: Atlassian Removes The Content State Of A Content And Publishes A New Version
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: confluence-content-states-2.atlassianremovecontentstate
      with:
        id: tools.id
        status: tools.status
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-gets-available-content-states
      description: Atlassian Gets Available Content States For Content
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: confluence-content-states-2.atlassiangetavailablecontentstates
      with:
        id: tools.id
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-space-suggested-content
      description: Atlassian Get Space Suggested Content States
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: confluence-content-states-2.atlassiangetspacecontentstates
      with:
        spaceKey: tools.spaceKey
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-content-space-given
      description: Atlassian Get Content In Space With Given Content State
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: confluence-content-states-2.atlassiangetcontentswithstate
      with:
        spaceKey: tools.spaceKey
        state-id: tools.state-id
        expand: tools.expand
        limit: tools.limit
        start: tools.start
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-content-state-settings
      description: Atlassian Get Content State Settings For Space
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: confluence-content-states-2.atlassiangetcontentstatesettings
      with:
        spaceKey: tools.spaceKey
      outputParameters:
      - type: object
        mapping: $.