Atlassian · Capability

Atlassian Bit Bucket Repositories API — Cache

Atlassian Bit Bucket Repositories API — Cache. 2 operations. Lead operation: Atlassian Delete Cache. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianCache

What You Can Do

DELETE
Deletecache — Atlassian Delete Cache
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/caches/{cache-uuid}
GET
Getcachecontenturi — Atlassian Get Cache Content Uri
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/caches/{cache-uuid}/content-uri

MCP Tools

atlassian-delete-cache

Atlassian Delete Cache

idempotent
atlassian-get-cache-content-uri

Atlassian Get Cache Content Uri

read-only idempotent

Capability Spec

bitbucket-repositories-cache.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Bit Bucket Repositories API — Cache
  description: 'Atlassian Bit Bucket Repositories API — Cache. 2 operations. Lead operation: Atlassian Delete Cache. Self-contained
    Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Cache
  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-cache
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian Bit Bucket Repositories API — Cache business capability. Self-contained, no shared references.
    resources:
    - name: repositories-workspace-repo_slug-pipelines-config-caches-cache_uuid
      path: /repositories/{workspace}/{repo_slug}/pipelines-config/caches/{cache_uuid}
      operations:
      - name: deletecache
        method: DELETE
        description: Atlassian Delete Cache
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: The account.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: cache_uuid
          in: path
          type: string
          description: The UUID of the cache to delete.
          required: true
    - name: repositories-workspace-repo_slug-pipelines-config-caches-cache_uuid-content-uri
      path: /repositories/{workspace}/{repo_slug}/pipelines-config/caches/{cache_uuid}/content-uri
      operations:
      - name: getcachecontenturi
        method: GET
        description: Atlassian Get Cache Content Uri
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: The account.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: cache_uuid
          in: path
          type: string
          description: The UUID of the cache.
          required: true
    authentication:
      type: bearer
      token: '{{env.ATLASSIAN_API_KEY}}'
  exposes:
  - type: rest
    namespace: bitbucket-repositories-cache-rest
    port: 8080
    description: REST adapter for Atlassian Bit Bucket Repositories API — Cache. One Spectral-compliant resource per consumed
      operation, prefixed with /v1.
    resources:
    - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config/caches/{cache-uuid}
      name: repositories-workspace-repo-slug-pipelines-config-caches-cache-uuid
      description: REST surface for repositories-workspace-repo_slug-pipelines-config-caches-cache_uuid.
      operations:
      - method: DELETE
        name: deletecache
        description: Atlassian Delete Cache
        call: bitbucket-repositories-cache.deletecache
        with:
          workspace: rest.workspace
          repo_slug: rest.repo_slug
          cache_uuid: rest.cache_uuid
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config/caches/{cache-uuid}/content-uri
      name: repositories-workspace-repo-slug-pipelines-config-caches-cache-uuid-content-uri
      description: REST surface for repositories-workspace-repo_slug-pipelines-config-caches-cache_uuid-content-uri.
      operations:
      - method: GET
        name: getcachecontenturi
        description: Atlassian Get Cache Content Uri
        call: bitbucket-repositories-cache.getcachecontenturi
        with:
          workspace: rest.workspace
          repo_slug: rest.repo_slug
          cache_uuid: rest.cache_uuid
        outputParameters:
        - type: object
          mapping: $.
  - type: mcp
    namespace: bitbucket-repositories-cache-mcp
    port: 9090
    transport: http
    description: MCP adapter for Atlassian Bit Bucket Repositories API — Cache. One tool per consumed operation, routed inline
      through this capability's consumes block.
    tools:
    - name: atlassian-delete-cache
      description: Atlassian Delete Cache
      hints:
        readOnly: false
        destructive: true
        idempotent: true
      call: bitbucket-repositories-cache.deletecache
      with:
        workspace: tools.workspace
        repo_slug: tools.repo_slug
        cache_uuid: tools.cache_uuid
      outputParameters:
      - type: object
        mapping: $.
    - name: atlassian-get-cache-content-uri
      description: Atlassian Get Cache Content Uri
      hints:
        readOnly: true
        destructive: false
        idempotent: true
      call: bitbucket-repositories-cache.getcachecontenturi
      with:
        workspace: tools.workspace
        repo_slug: tools.repo_slug
        cache_uuid: tools.cache_uuid
      outputParameters:
      - type: object
        mapping: $.