naftiko: 1.0.0-alpha2 info: label: Atlassian Bit Bucket Snippets API — Comments description: 'Atlassian Bit Bucket Snippets API — Comments. 5 operations. Lead operation: Atlassian List Comments on Snippet. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Comments created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ATLASSIAN_API_KEY: ATLASSIAN_API_KEY capability: consumes: - type: http namespace: bitbucket-snippets-comments baseUri: https://api.bitbucket.org/2.0 description: Atlassian Bit Bucket Snippets API — Comments business capability. Self-contained, no shared references. resources: - name: snippets-workspace-encoded_id-comments path: /snippets/{workspace}/{encoded_id}/comments operations: - name: listcommentsonsnippet method: GET description: Atlassian List Comments on Snippet outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createcommentonsnippet method: POST description: Atlassian Create Comment on Snippet outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: snippets-workspace-encoded_id-comments-comment_id path: /snippets/{workspace}/{encoded_id}/comments/{comment_id} operations: - name: deletecommentonsnippet method: DELETE description: Atlassian Delete Comment on Snippet outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getcommentonsnippet method: GET description: Atlassian Get Comment on Snippet outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updatecommentonsnippet method: PUT description: Atlassian Update Comment on Snippet outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true exposes: - type: rest namespace: bitbucket-snippets-comments-rest port: 8080 description: REST adapter for Atlassian Bit Bucket Snippets API — Comments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/snippets/{workspace}/{encoded-id}/comments name: snippets-workspace-encoded-id-comments description: REST surface for snippets-workspace-encoded_id-comments. operations: - method: GET name: listcommentsonsnippet description: Atlassian List Comments on Snippet call: bitbucket-snippets-comments.listcommentsonsnippet outputParameters: - type: object mapping: $. - method: POST name: createcommentonsnippet description: Atlassian Create Comment on Snippet call: bitbucket-snippets-comments.createcommentonsnippet with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/snippets/{workspace}/{encoded-id}/comments/{comment-id} name: snippets-workspace-encoded-id-comments-comment-id description: REST surface for snippets-workspace-encoded_id-comments-comment_id. operations: - method: DELETE name: deletecommentonsnippet description: Atlassian Delete Comment on Snippet call: bitbucket-snippets-comments.deletecommentonsnippet outputParameters: - type: object mapping: $. - method: GET name: getcommentonsnippet description: Atlassian Get Comment on Snippet call: bitbucket-snippets-comments.getcommentonsnippet outputParameters: - type: object mapping: $. - method: PUT name: updatecommentonsnippet description: Atlassian Update Comment on Snippet call: bitbucket-snippets-comments.updatecommentonsnippet with: body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: bitbucket-snippets-comments-mcp port: 9090 transport: http description: MCP adapter for Atlassian Bit Bucket Snippets API — Comments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-list-comments-snippet description: Atlassian List Comments on Snippet hints: readOnly: true destructive: false idempotent: true call: bitbucket-snippets-comments.listcommentsonsnippet outputParameters: - type: object mapping: $. - name: atlassian-create-comment-snippet description: Atlassian Create Comment on Snippet hints: readOnly: false destructive: false idempotent: false call: bitbucket-snippets-comments.createcommentonsnippet with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-delete-comment-snippet description: Atlassian Delete Comment on Snippet hints: readOnly: false destructive: true idempotent: true call: bitbucket-snippets-comments.deletecommentonsnippet outputParameters: - type: object mapping: $. - name: atlassian-get-comment-snippet description: Atlassian Get Comment on Snippet hints: readOnly: true destructive: false idempotent: true call: bitbucket-snippets-comments.getcommentonsnippet outputParameters: - type: object mapping: $. - name: atlassian-update-comment-snippet description: Atlassian Update Comment on Snippet hints: readOnly: false destructive: false idempotent: true call: bitbucket-snippets-comments.updatecommentonsnippet with: body: tools.body outputParameters: - type: object mapping: $.