naftiko: 1.0.0-alpha2 info: label: Atlassian Bit Bucket Repositories API — Ssh description: 'Atlassian Bit Bucket Repositories API — Ssh. 3 operations. Lead operation: Atlassian Get Ssh Key Pair. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Ssh 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-ssh baseUri: https://api.bitbucket.org/2.0 description: Atlassian Bit Bucket Repositories API — Ssh business capability. Self-contained, no shared references. resources: - name: repositories-workspace-repo_slug-pipelines_config-ssh-key_pair path: /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/key_pair operations: - name: getsshkeypair method: GET description: Atlassian Get Ssh Key Pair outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: updatesshkeypair method: PUT description: Atlassian Update Ssh Key Pair outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: deletesshkeypair method: DELETE description: Atlassian Delete Ssh Key Pair outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`. required: true - name: repo_slug in: path type: string description: The repository. required: true authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: bitbucket-repositories-ssh-rest port: 8080 description: REST adapter for Atlassian Bit Bucket Repositories API — Ssh. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config/ssh/key-pair name: repositories-workspace-repo-slug-pipelines-config-ssh-key-pair description: REST surface for repositories-workspace-repo_slug-pipelines_config-ssh-key_pair. operations: - method: GET name: getsshkeypair description: Atlassian Get Ssh Key Pair call: bitbucket-repositories-ssh.getsshkeypair with: workspace: rest.workspace repo_slug: rest.repo_slug outputParameters: - type: object mapping: $. - method: PUT name: updatesshkeypair description: Atlassian Update Ssh Key Pair call: bitbucket-repositories-ssh.updatesshkeypair with: workspace: rest.workspace repo_slug: rest.repo_slug body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletesshkeypair description: Atlassian Delete Ssh Key Pair call: bitbucket-repositories-ssh.deletesshkeypair with: workspace: rest.workspace repo_slug: rest.repo_slug outputParameters: - type: object mapping: $. - type: mcp namespace: bitbucket-repositories-ssh-mcp port: 9090 transport: http description: MCP adapter for Atlassian Bit Bucket Repositories API — Ssh. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-get-ssh-key-pair description: Atlassian Get Ssh Key Pair hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-ssh.getsshkeypair with: workspace: tools.workspace repo_slug: tools.repo_slug outputParameters: - type: object mapping: $. - name: atlassian-update-ssh-key-pair description: Atlassian Update Ssh Key Pair hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-ssh.updatesshkeypair with: workspace: tools.workspace repo_slug: tools.repo_slug body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-delete-ssh-key-pair description: Atlassian Delete Ssh Key Pair hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-ssh.deletesshkeypair with: workspace: tools.workspace repo_slug: tools.repo_slug outputParameters: - type: object mapping: $.