naftiko: 1.0.0-alpha2 info: label: Atlassian Bit Bucket Repositories API — Deploy description: 'Atlassian Bit Bucket Repositories API — Deploy. 5 operations. Lead operation: Atlassian List Repository Deploy Keys. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Deploy 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-deploy baseUri: https://api.bitbucket.org/2.0 description: Atlassian Bit Bucket Repositories API — Deploy business capability. Self-contained, no shared references. resources: - name: repositories-workspace-repo_slug-deploy-keys path: /repositories/{workspace}/{repo_slug}/deploy-keys operations: - name: listrepositorydeploykeys method: GET description: Atlassian List Repository Deploy Keys outputRawFormat: json outputParameters: - name: result type: object value: $. - name: addrepositorydeploykey method: POST description: Atlassian Add Repository Deploy Key outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-deploy-keys-key_id path: /repositories/{workspace}/{repo_slug}/deploy-keys/{key_id} operations: - name: deleterepositorydeploykey method: DELETE description: Atlassian Delete Repository Deploy Key outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getrepositorydeploykey method: GET description: Atlassian Get Repository Deploy Key outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updaterepositorydeploykey method: PUT description: Atlassian Update Repository Deploy Key outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: bitbucket-repositories-deploy-rest port: 8080 description: REST adapter for Atlassian Bit Bucket Repositories API — Deploy. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repositories/{workspace}/{repo-slug}/deploy-keys name: repositories-workspace-repo-slug-deploy-keys description: REST surface for repositories-workspace-repo_slug-deploy-keys. operations: - method: GET name: listrepositorydeploykeys description: Atlassian List Repository Deploy Keys call: bitbucket-repositories-deploy.listrepositorydeploykeys outputParameters: - type: object mapping: $. - method: POST name: addrepositorydeploykey description: Atlassian Add Repository Deploy Key call: bitbucket-repositories-deploy.addrepositorydeploykey outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/deploy-keys/{key-id} name: repositories-workspace-repo-slug-deploy-keys-key-id description: REST surface for repositories-workspace-repo_slug-deploy-keys-key_id. operations: - method: DELETE name: deleterepositorydeploykey description: Atlassian Delete Repository Deploy Key call: bitbucket-repositories-deploy.deleterepositorydeploykey outputParameters: - type: object mapping: $. - method: GET name: getrepositorydeploykey description: Atlassian Get Repository Deploy Key call: bitbucket-repositories-deploy.getrepositorydeploykey outputParameters: - type: object mapping: $. - method: PUT name: updaterepositorydeploykey description: Atlassian Update Repository Deploy Key call: bitbucket-repositories-deploy.updaterepositorydeploykey outputParameters: - type: object mapping: $. - type: mcp namespace: bitbucket-repositories-deploy-mcp port: 9090 transport: http description: MCP adapter for Atlassian Bit Bucket Repositories API — Deploy. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-list-repository-deploy-keys description: Atlassian List Repository Deploy Keys hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-deploy.listrepositorydeploykeys outputParameters: - type: object mapping: $. - name: atlassian-add-repository-deploy-key description: Atlassian Add Repository Deploy Key hints: readOnly: false destructive: false idempotent: false call: bitbucket-repositories-deploy.addrepositorydeploykey outputParameters: - type: object mapping: $. - name: atlassian-delete-repository-deploy-key description: Atlassian Delete Repository Deploy Key hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-deploy.deleterepositorydeploykey outputParameters: - type: object mapping: $. - name: atlassian-get-repository-deploy-key description: Atlassian Get Repository Deploy Key hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-deploy.getrepositorydeploykey outputParameters: - type: object mapping: $. - name: atlassian-update-repository-deploy-key description: Atlassian Update Repository Deploy Key hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-deploy.updaterepositorydeploykey outputParameters: - type: object mapping: $.