Atlassian · Capability

Atlassian Confluence Content API — Sets

Atlassian Confluence Content API — Sets. 1 operations. Lead operation: Atlassian Set the Content State of Content and Publishes New Version of the Content. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianSets

What You Can Do

PUT
Setthecontentstateofcontentandpublishesnewversionofthecontent — Atlassian Set the Content State of Content and Publishes New Version of the Content
/v1/wiki/rest/api/content/{id}/state

MCP Tools

atlassian-set-content-state-content

Atlassian Set the Content State of Content and Publishes New Version of the Content

idempotent

Capability Spec

confluence-content-sets.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Confluence Content API — Sets
  description: 'Atlassian Confluence Content API — Sets. 1 operations. Lead operation: Atlassian Set the Content State of
    Content and Publishes New Version of the Content. Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Sets
  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-sets
    baseUri: ''
    description: Atlassian Confluence Content API — Sets business capability. Self-contained, no shared references.
    resources:
    - name: wiki-rest-api-content-id-state
      path: /wiki/rest/api/content/{id}/state
      operations:
      - name: setthecontentstateofcontentandpublishesnewversionofthecontent
        method: PUT
        description: Atlassian Set the Content State of Content and Publishes 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
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: confluence-content-sets-rest
    port: 8080
    description: REST adapter for Atlassian Confluence Content API — Sets. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - 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: PUT
        name: setthecontentstateofcontentandpublishesnewversionofthecontent
        description: Atlassian Set the Content State of Content and Publishes New Version of the Content
        call: confluence-content-sets.setthecontentstateofcontentandpublishesnewversionofthecontent
        with:
          id: rest.id
          status: rest.status
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: confluence-content-sets-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Confluence Content API — Sets. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: atlassian-set-content-state-content
      description: Atlassian Set the Content State of Content and Publishes New Version of the Content
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: confluence-content-sets.setthecontentstateofcontentandpublishesnewversionofthecontent
      with:
        id: tools.id
        status: tools.status
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.