naftiko: 1.0.0-alpha2 info: label: Atlassian repositories/ — Downloads description: 'Atlassian repositories/ — Downloads. 4 operations. Lead operation: Atlassian List Download Artifacts. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Downloads created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ATLASSIAN_API_KEY: ATLASSIAN_API_KEY capability: consumes: - type: http namespace: repositories--downloads baseUri: https://api.bitbucket.org/2.0 description: Atlassian repositories/ — Downloads business capability. Self-contained, no shared references. resources: - name: repositories-workspace-repo_slug-downloads path: /repositories/{workspace}/{repo_slug}/downloads operations: - name: atlassianlistdownloadartifacts method: GET description: Atlassian List Download Artifacts outputRawFormat: json outputParameters: - name: result type: object value: $. - name: atlassianuploadadownloadartifact method: POST description: Atlassian Upload A 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: atlassiandeleteadownloadartifact method: DELETE description: Atlassian Delete A Download Artifact outputRawFormat: json outputParameters: - name: result type: object value: $. - name: atlassiangetadownloadartifactlink method: GET description: Atlassian Get A Download Artifact Link outputRawFormat: json outputParameters: - name: result type: object value: $. exposes: - type: rest namespace: repositories--downloads-rest port: 8080 description: REST adapter for Atlassian repositories/ — Downloads. 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: atlassianlistdownloadartifacts description: Atlassian List Download Artifacts call: repositories--downloads.atlassianlistdownloadartifacts outputParameters: - type: object mapping: $. - method: POST name: atlassianuploadadownloadartifact description: Atlassian Upload A Download Artifact call: repositories--downloads.atlassianuploadadownloadartifact 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: atlassiandeleteadownloadartifact description: Atlassian Delete A Download Artifact call: repositories--downloads.atlassiandeleteadownloadartifact outputParameters: - type: object mapping: $. - method: GET name: atlassiangetadownloadartifactlink description: Atlassian Get A Download Artifact Link call: repositories--downloads.atlassiangetadownloadartifactlink outputParameters: - type: object mapping: $. - type: mcp namespace: repositories--downloads-mcp port: 9090 transport: http description: MCP adapter for Atlassian repositories/ — Downloads. 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: repositories--downloads.atlassianlistdownloadartifacts outputParameters: - type: object mapping: $. - name: atlassian-upload-download-artifact description: Atlassian Upload A Download Artifact hints: readOnly: false destructive: false idempotent: false call: repositories--downloads.atlassianuploadadownloadartifact outputParameters: - type: object mapping: $. - name: atlassian-delete-download-artifact description: Atlassian Delete A Download Artifact hints: readOnly: false destructive: true idempotent: true call: repositories--downloads.atlassiandeleteadownloadartifact outputParameters: - type: object mapping: $. - name: atlassian-get-download-artifact-link description: Atlassian Get A Download Artifact Link hints: readOnly: true destructive: false idempotent: true call: repositories--downloads.atlassiangetadownloadartifactlink outputParameters: - type: object mapping: $.