Atlassian · Capability

Atlassian Confluence Content API — Data

Atlassian Confluence Content API — Data. 1 operations. Lead operation: Atlassian Update Attachment Data. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianData

What You Can Do

POST
Updateattachmentdata — Atlassian Update Attachment Data
/v1/wiki/rest/api/content/{id}/child/attachment/{attachmentid}/data

MCP Tools

atlassian-update-attachment-data

Atlassian Update Attachment Data

Capability Spec

confluence-content-data.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Confluence Content API — Data
  description: 'Atlassian Confluence Content API — Data. 1 operations. Lead operation: Atlassian Update Attachment Data. Self-contained
    Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Data
  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-data
    baseUri: ''
    description: Atlassian Confluence Content API — Data business capability. Self-contained, no shared references.
    resources:
    - name: wiki-rest-api-content-id-child-attachment-attachmentId-data
      path: /wiki/rest/api/content/{id}/child/attachment/{attachmentId}/data
      operations:
      - name: updateattachmentdata
        method: POST
        description: Atlassian Update Attachment Data
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: id
          in: path
          type: string
          description: The ID of the content that the attachment is attached to.
          required: true
        - name: attachmentId
          in: path
          type: string
          description: The ID of the attachment to update.
          required: true
        - 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-data-rest
    port: 8080
    description: REST adapter for Atlassian Confluence Content API — Data. One Spectral-compliant resource per consumed operation,
      prefixed with /v1.
    resources:
    - path: /v1/wiki/rest/api/content/{id}/child/attachment/{attachmentid}/data
      name: wiki-rest-api-content-id-child-attachment-attachmentid-data
      description: REST surface for wiki-rest-api-content-id-child-attachment-attachmentId-data.
      operations:
      - method: POST
        name: updateattachmentdata
        description: Atlassian Update Attachment Data
        call: confluence-content-data.updateattachmentdata
        with:
          id: rest.id
          attachmentId: rest.attachmentId
          body: rest.body
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: confluence-content-data-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Confluence Content API — Data. One tool per consumed operation, routed inline through
      this capability's consumes block.
    tools:
    - name: atlassian-update-attachment-data
      description: Atlassian Update Attachment Data
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: confluence-content-data.updateattachmentdata
      with:
        id: tools.id
        attachmentId: tools.attachmentId
        body: tools.body
      outputParameters:
      - type: object
        mapping: $.