naftiko: 1.0.0-alpha2 info: label: Atlassian Bit Bucket User API — Ssh description: 'Atlassian Bit Bucket User API — Ssh. 5 operations. Lead operation: Atlassian List Ssh Keys. 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-user-ssh baseUri: https://api.bitbucket.org/2.0 description: Atlassian Bit Bucket User API — Ssh business capability. Self-contained, no shared references. resources: - name: users-selected_user-ssh-keys path: /users/{selected_user}/ssh-keys operations: - name: listsshkeys method: GET description: Atlassian List Ssh Keys outputRawFormat: json outputParameters: - name: result type: object value: $. - name: addnewsshkey method: POST description: Atlassian Add New Ssh Key outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: users-selected_user-ssh-keys-key_id path: /users/{selected_user}/ssh-keys/{key_id} operations: - name: deletesshkey method: DELETE description: Atlassian Delete Ssh Key outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getsshkey method: GET description: Atlassian Get Ssh Key outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatesshkey method: PUT description: Atlassian Update Ssh Key outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: bitbucket-user-ssh-rest port: 8080 description: REST adapter for Atlassian Bit Bucket User API — Ssh. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/users/{selected-user}/ssh-keys name: users-selected-user-ssh-keys description: REST surface for users-selected_user-ssh-keys. operations: - method: GET name: listsshkeys description: Atlassian List Ssh Keys call: bitbucket-user-ssh.listsshkeys outputParameters: - type: object mapping: $. - method: POST name: addnewsshkey description: Atlassian Add New Ssh Key call: bitbucket-user-ssh.addnewsshkey with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/users/{selected-user}/ssh-keys/{key-id} name: users-selected-user-ssh-keys-key-id description: REST surface for users-selected_user-ssh-keys-key_id. operations: - method: DELETE name: deletesshkey description: Atlassian Delete Ssh Key call: bitbucket-user-ssh.deletesshkey outputParameters: - type: object mapping: $. - method: GET name: getsshkey description: Atlassian Get Ssh Key call: bitbucket-user-ssh.getsshkey outputParameters: - type: object mapping: $. - method: PUT name: updatesshkey description: Atlassian Update Ssh Key call: bitbucket-user-ssh.updatesshkey with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: bitbucket-user-ssh-mcp port: 9090 transport: http description: MCP adapter for Atlassian Bit Bucket User API — Ssh. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-list-ssh-keys description: Atlassian List Ssh Keys hints: readOnly: true destructive: false idempotent: true call: bitbucket-user-ssh.listsshkeys outputParameters: - type: object mapping: $. - name: atlassian-add-new-ssh-key description: Atlassian Add New Ssh Key hints: readOnly: false destructive: false idempotent: false call: bitbucket-user-ssh.addnewsshkey with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-delete-ssh-key description: Atlassian Delete Ssh Key hints: readOnly: false destructive: true idempotent: true call: bitbucket-user-ssh.deletesshkey outputParameters: - type: object mapping: $. - name: atlassian-get-ssh-key description: Atlassian Get Ssh Key hints: readOnly: true destructive: false idempotent: true call: bitbucket-user-ssh.getsshkey outputParameters: - type: object mapping: $. - name: atlassian-update-ssh-key description: Atlassian Update Ssh Key hints: readOnly: false destructive: false idempotent: true call: bitbucket-user-ssh.updatesshkey with: body: tools.body outputParameters: - type: object mapping: $.