Atlassian · Capability

Atlassian Confluence Content API — Download

Atlassian Confluence Content API — Download. 1 operations. Lead operation: Atlassian Get Uri to Download Attachment. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianDownload

What You Can Do

GET
Geturitodownloadattachment — Atlassian Get Uri to Download Attachment
/v1/wiki/rest/api/content/{id}/child/attachment/{attachmentid}/download

MCP Tools

atlassian-get-uri-download-attachment

Atlassian Get Uri to Download Attachment

read-only idempotent

Capability Spec

confluence-content-download.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Confluence Content API — Download
  description: 'Atlassian Confluence Content API — Download. 1 operations. Lead operation: Atlassian Get Uri to Download Attachment.
    Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Download
  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-download
    baseUri: ''
    description: Atlassian Confluence Content API — Download business capability. Self-contained, no shared references.
    resources:
    - name: wiki-rest-api-content-id-child-attachment-attachmentId-download
      path: /wiki/rest/api/content/{id}/child/attachment/{attachmentId}/download
      operations:
      - name: geturitodownloadattachment
        method: GET
        description: Atlassian Get Uri to Download Attachment
        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 download.
          required: true
        - name: version
          in: query
          type: integer
          description: The version of the attachment. If this parameter is absent, the redirect URI will download the latest
            version of the attachment.
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: confluence-content-download-rest
    port: 8080
    description: REST adapter for Atlassian Confluence Content API — Download. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/wiki/rest/api/content/{id}/child/attachment/{attachmentid}/download
      name: wiki-rest-api-content-id-child-attachment-attachmentid-download
      description: REST surface for wiki-rest-api-content-id-child-attachment-attachmentId-download.
      operations:
      - method: GET
        name: geturitodownloadattachment
        description: Atlassian Get Uri to Download Attachment
        call: confluence-content-download.geturitodownloadattachment
        with:
          id: rest.id
          attachmentId: rest.attachmentId
          version: rest.version
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: confluence-content-download-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Confluence Content API — Download. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: atlassian-get-uri-download-attachment
      description: Atlassian Get Uri to Download Attachment
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: confluence-content-download.geturitodownloadattachment
      with:
        id: tools.id
        attachmentId: tools.attachmentId
        version: tools.version
      outputParameters:
      - type: object
        mapping: $.