Atlassian · Capability

Atlassian Confluence Content API — Publishes

Atlassian Confluence Content API — Publishes. 2 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 AtlassianPublishes

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
DELETE
Removesthecontentstateofcontentandpublishesnewversion — Atlassian Removes the Content State of Content and Publishes New Version
/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
atlassian-removes-content-state-content

Atlassian Removes the Content State of Content and Publishes New Version

idempotent

Capability Spec

confluence-content-publishes.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Confluence Content API — Publishes
  description: 'Atlassian Confluence Content API — Publishes. 2 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
  - Publishes
  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-publishes
    baseUri: ''
    description: Atlassian Confluence Content API — Publishes 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
      - name: removesthecontentstateofcontentandpublishesnewversion
        method: DELETE
        description: Atlassian Removes the Content State of Content and Publishes 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
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: confluence-content-publishes-rest
    port: 8080
    description: REST adapter for Atlassian Confluence Content API — Publishes. 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-publishes.setthecontentstateofcontentandpublishesnewversionofthecontent
        with:
          id: rest.id
          status: rest.status
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: DELETE
        name: removesthecontentstateofcontentandpublishesnewversion
        description: Atlassian Removes the Content State of Content and Publishes New Version
        call: confluence-content-publishes.removesthecontentstateofcontentandpublishesnewversion
        with:
          id: rest.id
          status: rest.status
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: confluence-content-publishes-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Confluence Content API — Publishes. 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-publishes.setthecontentstateofcontentandpublishesnewversionofthecontent
      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 Content and Publishes New Version
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: confluence-content-publishes.removesthecontentstateofcontentandpublishesnewversion
      with:
        id: tools.id
        status: tools.status
      outputParameters:
      - type: object
        mapping: $.