Atlassian · Capability

Atlassian Confluence Content API — Publish

Atlassian Confluence Content API — Publish. 2 operations. Lead operation: Atlassian Publish Shared Draft. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianPublish

What You Can Do

PUT
Publishshareddraft — Atlassian Publish Shared Draft
/v1/wiki/rest/api/content/blueprint/instance/{draftid}
POST
Publishlegacydraft — Atlassian Publish Legacy Draft
/v1/wiki/rest/api/content/blueprint/instance/{draftid}

MCP Tools

atlassian-publish-shared-draft

Atlassian Publish Shared Draft

idempotent
atlassian-publish-legacy-draft

Atlassian Publish Legacy Draft

Capability Spec

confluence-content-publish.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Confluence Content API — Publish
  description: 'Atlassian Confluence Content API — Publish. 2 operations. Lead operation: Atlassian Publish Shared Draft.
    Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Publish
  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-publish
    baseUri: ''
    description: Atlassian Confluence Content API — Publish business capability. Self-contained, no shared references.
    resources:
    - name: wiki-rest-api-content-blueprint-instance-draftId
      path: /wiki/rest/api/content/blueprint/instance/{draftId}
      operations:
      - name: publishshareddraft
        method: PUT
        description: Atlassian Publish Shared Draft
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: draftId
          in: path
          type: string
          description: The ID of the draft page that was created from a blueprint.
          required: true
        - name: status
          in: query
          type: string
          description: The status of the content to be updated, i.e. the draft. This is set
        - name: body
          in: body
          type: object
          description: Request body (JSON).
          required: true
      - name: publishlegacydraft
        method: POST
        description: Atlassian Publish Legacy Draft
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: draftId
          in: path
          type: string
          description: The ID of the draft page that was created from a blueprint.
          required: true
        - name: status
          in: query
          type: string
          description: The status of the content to be updated, i.e. the draft. This is set
        - 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-publish-rest
    port: 8080
    description: REST adapter for Atlassian Confluence Content API — Publish. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/wiki/rest/api/content/blueprint/instance/{draftid}
      name: wiki-rest-api-content-blueprint-instance-draftid
      description: REST surface for wiki-rest-api-content-blueprint-instance-draftId.
      operations:
      - method: PUT
        name: publishshareddraft
        description: Atlassian Publish Shared Draft
        call: confluence-content-publish.publishshareddraft
        with:
          draftId: rest.draftId
          status: rest.status
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: publishlegacydraft
        description: Atlassian Publish Legacy Draft
        call: confluence-content-publish.publishlegacydraft
        with:
          draftId: rest.draftId
          status: rest.status
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: confluence-content-publish-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Confluence Content API — Publish. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: atlassian-publish-shared-draft
      description: Atlassian Publish Shared Draft
      hints:
        readOnly: false
        destructive: false
        idempotent: true
      call: confluence-content-publish.publishshareddraft
      with:
        draftId: tools.draftId
        status: tools.status
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-publish-legacy-draft
      description: Atlassian Publish Legacy Draft
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: confluence-content-publish.publishlegacydraft
      with:
        draftId: tools.draftId
        status: tools.status
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.