Atlassian · Capability

Atlassian Bit Bucket Repositories API — Artifacts

Atlassian Bit Bucket Repositories API — Artifacts. 4 operations. Lead operation: Atlassian List Download Artifacts. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianArtifacts

What You Can Do

GET
Listdownloadartifacts — Atlassian List Download Artifacts
/v1/repositories/{workspace}/{repo-slug}/downloads
POST
Uploaddownloadartifact — Atlassian Upload Download Artifact
/v1/repositories/{workspace}/{repo-slug}/downloads
DELETE
Deletedownloadartifact — Atlassian Delete Download Artifact
/v1/repositories/{workspace}/{repo-slug}/downloads/{filename}
GET
Getdownloadartifactlink — Atlassian Get Download Artifact Link
/v1/repositories/{workspace}/{repo-slug}/downloads/{filename}

MCP Tools

atlassian-list-download-artifacts

Atlassian List Download Artifacts

read-only idempotent
atlassian-upload-download-artifact

Atlassian Upload Download Artifact

atlassian-delete-download-artifact

Atlassian Delete Download Artifact

idempotent
atlassian-get-download-artifact-link

Atlassian Get Download Artifact Link

read-only idempotent

Capability Spec

bitbucket-repositories-artifacts.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Bit Bucket Repositories API — Artifacts
  description: 'Atlassian Bit Bucket Repositories API — Artifacts. 4 operations. Lead operation: Atlassian List Download Artifacts.
    Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Artifacts
  created: '2026-05-19'
  modified: '2026-05-19'
binds:
- namespace: env
  keys:
    ATLASSIAN_API_KEY: ATLASSIAN_API_KEY
capability:
  consumes:
  - type: http
    namespace: bitbucket-repositories-artifacts
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian Bit Bucket Repositories API — Artifacts business capability. Self-contained, no shared references.
    resources:
    - name: repositories-workspace-repo_slug-downloads
      path: /repositories/{workspace}/{repo_slug}/downloads
      operations:
      - name: listdownloadartifacts
        method: GET
        description: Atlassian List Download Artifacts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: uploaddownloadartifact
        method: POST
        description: Atlassian Upload Download Artifact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repositories-workspace-repo_slug-downloads-filename
      path: /repositories/{workspace}/{repo_slug}/downloads/{filename}
      operations:
      - name: deletedownloadartifact
        method: DELETE
        description: Atlassian Delete Download Artifact
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: getdownloadartifactlink
        method: GET
        description: Atlassian Get Download Artifact Link
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: bitbucket-repositories-artifacts-rest
    port: 8080
    description: REST adapter for Atlassian Bit Bucket Repositories API — Artifacts. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/repositories/{workspace}/{repo-slug}/downloads
      name: repositories-workspace-repo-slug-downloads
      description: REST surface for repositories-workspace-repo_slug-downloads.
      operations:
      - method: GET
        name: listdownloadartifacts
        description: Atlassian List Download Artifacts
        call: bitbucket-repositories-artifacts.listdownloadartifacts
        outputParameters:
        - type: object
          mapping: $.
      - method: POST
        name: uploaddownloadartifact
        description: Atlassian Upload Download Artifact
        call: bitbucket-repositories-artifacts.uploaddownloadartifact
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repositories/{workspace}/{repo-slug}/downloads/{filename}
      name: repositories-workspace-repo-slug-downloads-filename
      description: REST surface for repositories-workspace-repo_slug-downloads-filename.
      operations:
      - method: DELETE
        name: deletedownloadartifact
        description: Atlassian Delete Download Artifact
        call: bitbucket-repositories-artifacts.deletedownloadartifact
        outputParameters:
        - type: object
          mapping: $.
      - method: GET
        name: getdownloadartifactlink
        description: Atlassian Get Download Artifact Link
        call: bitbucket-repositories-artifacts.getdownloadartifactlink
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bitbucket-repositories-artifacts-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Bit Bucket Repositories API — Artifacts. One tool per consumed operation, routed
      inline through this capability's consumes block.
    tools:
    - name: atlassian-list-download-artifacts
      description: Atlassian List Download Artifacts
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-repositories-artifacts.listdownloadartifacts
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-upload-download-artifact
      description: Atlassian Upload Download Artifact
      hints:
        readOnly: false
        destructive: false
        idempotent: false
      call: bitbucket-repositories-artifacts.uploaddownloadartifact
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-delete-download-artifact
      description: Atlassian Delete Download Artifact
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: bitbucket-repositories-artifacts.deletedownloadartifact
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-download-artifact-link
      description: Atlassian Get Download Artifact Link
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-repositories-artifacts.getdownloadartifactlink
      outputParameters:
      - type: object
        mapping: $.