naftiko: 1.0.0-alpha2 info: label: Atlassian Bitbucket API — Addon description: 'Atlassian Bitbucket API — Addon. 10 operations. Lead operation: Atlassian Delete An App. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Addon created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ATLASSIAN_API_KEY: ATLASSIAN_API_KEY capability: consumes: - type: http namespace: bitbucket-addon baseUri: https://api.bitbucket.org/2.0 description: Atlassian Bitbucket API — Addon business capability. Self-contained, no shared references. resources: - name: addon path: /addon operations: - name: atlassiandeleteanapp method: DELETE description: Atlassian Delete An App outputRawFormat: json outputParameters: - name: result type: object value: $. - name: atlassianupdateaninstalledapp method: PUT description: Atlassian Update An Installed App outputRawFormat: json outputParameters: - name: result type: object value: $. - name: addon-linkers path: /addon/linkers operations: - name: atlassianlistlinkersforanapp method: GET description: Atlassian List Linkers For An App outputRawFormat: json outputParameters: - name: result type: object value: $. - name: addon-linkers-linker_key path: /addon/linkers/{linker_key} operations: - name: atlassiangetalinkerforanapp method: GET description: Atlassian Get A Linker For An App outputRawFormat: json outputParameters: - name: result type: object value: $. - name: addon-linkers-linker_key-values path: /addon/linkers/{linker_key}/values operations: - name: atlassiandeletealllinkervalues method: DELETE description: Atlassian Delete All Linker Values outputRawFormat: json outputParameters: - name: result type: object value: $. - name: atlassianlistlinkervaluesforalinker method: GET description: Atlassian List Linker Values For A Linker outputRawFormat: json outputParameters: - name: result type: object value: $. - name: atlassiancreatealinkervalue method: POST description: Atlassian Create A Linker Value outputRawFormat: json outputParameters: - name: result type: object value: $. - name: atlassianupdatealinkervalue method: PUT description: Atlassian Update A Linker Value outputRawFormat: json outputParameters: - name: result type: object value: $. - name: addon-linkers-linker_key-values-value_id path: /addon/linkers/{linker_key}/values/{value_id} operations: - name: atlassiandeletealinkervalue method: DELETE description: Atlassian Delete A Linker Value outputRawFormat: json outputParameters: - name: result type: object value: $. - name: atlassiangetalinkervalue method: GET description: Atlassian Get A Linker Value outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: bitbucket-addon-rest port: 8080 description: REST adapter for Atlassian Bitbucket API — Addon. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/addon name: addon description: REST surface for addon. operations: - method: DELETE name: atlassiandeleteanapp description: Atlassian Delete An App call: bitbucket-addon.atlassiandeleteanapp outputParameters: - type: object mapping: $. - method: PUT name: atlassianupdateaninstalledapp description: Atlassian Update An Installed App call: bitbucket-addon.atlassianupdateaninstalledapp outputParameters: - type: object mapping: $. - path: /v1/addon/linkers name: addon-linkers description: REST surface for addon-linkers. operations: - method: GET name: atlassianlistlinkersforanapp description: Atlassian List Linkers For An App call: bitbucket-addon.atlassianlistlinkersforanapp outputParameters: - type: object mapping: $. - path: /v1/addon/linkers/{linker-key} name: addon-linkers-linker-key description: REST surface for addon-linkers-linker_key. operations: - method: GET name: atlassiangetalinkerforanapp description: Atlassian Get A Linker For An App call: bitbucket-addon.atlassiangetalinkerforanapp outputParameters: - type: object mapping: $. - path: /v1/addon/linkers/{linker-key}/values name: addon-linkers-linker-key-values description: REST surface for addon-linkers-linker_key-values. operations: - method: DELETE name: atlassiandeletealllinkervalues description: Atlassian Delete All Linker Values call: bitbucket-addon.atlassiandeletealllinkervalues outputParameters: - type: object mapping: $. - method: GET name: atlassianlistlinkervaluesforalinker description: Atlassian List Linker Values For A Linker call: bitbucket-addon.atlassianlistlinkervaluesforalinker outputParameters: - type: object mapping: $. - method: POST name: atlassiancreatealinkervalue description: Atlassian Create A Linker Value call: bitbucket-addon.atlassiancreatealinkervalue outputParameters: - type: object mapping: $. - method: PUT name: atlassianupdatealinkervalue description: Atlassian Update A Linker Value call: bitbucket-addon.atlassianupdatealinkervalue outputParameters: - type: object mapping: $. - path: /v1/addon/linkers/{linker-key}/values/{value-id} name: addon-linkers-linker-key-values-value-id description: REST surface for addon-linkers-linker_key-values-value_id. operations: - method: DELETE name: atlassiandeletealinkervalue description: Atlassian Delete A Linker Value call: bitbucket-addon.atlassiandeletealinkervalue outputParameters: - type: object mapping: $. - method: GET name: atlassiangetalinkervalue description: Atlassian Get A Linker Value call: bitbucket-addon.atlassiangetalinkervalue outputParameters: - type: object mapping: $. - type: mcp namespace: bitbucket-addon-mcp port: 9090 transport: http description: MCP adapter for Atlassian Bitbucket API — Addon. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-delete-app description: Atlassian Delete An App hints: readOnly: false destructive: true idempotent: true call: bitbucket-addon.atlassiandeleteanapp outputParameters: - type: object mapping: $. - name: atlassian-update-installed-app description: Atlassian Update An Installed App hints: readOnly: false destructive: false idempotent: true call: bitbucket-addon.atlassianupdateaninstalledapp outputParameters: - type: object mapping: $. - name: atlassian-list-linkers-app description: Atlassian List Linkers For An App hints: readOnly: true destructive: false idempotent: true call: bitbucket-addon.atlassianlistlinkersforanapp outputParameters: - type: object mapping: $. - name: atlassian-get-linker-app description: Atlassian Get A Linker For An App hints: readOnly: true destructive: false idempotent: true call: bitbucket-addon.atlassiangetalinkerforanapp outputParameters: - type: object mapping: $. - name: atlassian-delete-all-linker-values description: Atlassian Delete All Linker Values hints: readOnly: false destructive: true idempotent: true call: bitbucket-addon.atlassiandeletealllinkervalues outputParameters: - type: object mapping: $. - name: atlassian-list-linker-values-linker description: Atlassian List Linker Values For A Linker hints: readOnly: true destructive: false idempotent: true call: bitbucket-addon.atlassianlistlinkervaluesforalinker outputParameters: - type: object mapping: $. - name: atlassian-create-linker-value description: Atlassian Create A Linker Value hints: readOnly: false destructive: false idempotent: false call: bitbucket-addon.atlassiancreatealinkervalue outputParameters: - type: object mapping: $. - name: atlassian-update-linker-value description: Atlassian Update A Linker Value hints: readOnly: false destructive: false idempotent: true call: bitbucket-addon.atlassianupdatealinkervalue outputParameters: - type: object mapping: $. - name: atlassian-delete-linker-value description: Atlassian Delete A Linker Value hints: readOnly: false destructive: true idempotent: true call: bitbucket-addon.atlassiandeletealinkervalue outputParameters: - type: object mapping: $. - name: atlassian-get-linker-value description: Atlassian Get A Linker Value hints: readOnly: true destructive: false idempotent: true call: bitbucket-addon.atlassiangetalinkervalue outputParameters: - type: object mapping: $.