naftiko: 1.0.0-alpha2 info: label: Atlassian Bitbucket API — Reports - Commits description: 'Atlassian Bitbucket API — Reports - Commits. 9 operations. Lead operation: Atlassian List Reports. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Reports - Commits created: '2026-05-19' modified: '2026-05-19' binds: - namespace: env keys: ATLASSIAN_API_KEY: ATLASSIAN_API_KEY capability: consumes: - type: http namespace: bitbucket-reports-commits baseUri: https://api.bitbucket.org/2.0 description: Atlassian Bitbucket API — Reports - Commits business capability. Self-contained, no shared references. resources: - name: repositories-workspace-repo_slug-commit-commit-reports path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports operations: - name: atlassiangetreportsforcommit method: GET description: Atlassian List Reports 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: commit in: path type: string description: The commit for which to retrieve reports. required: true - name: repositories-workspace-repo_slug-commit-commit-reports-reportId path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} operations: - name: atlassiancreateorupdatereport method: PUT description: Atlassian Create Or Update A Report 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: commit in: path type: string description: The commit the report belongs to. required: true - name: reportId in: path type: string description: Either the uuid or external-id of the report. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: atlassiangetreport method: GET description: Atlassian Get A Report 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: commit in: path type: string description: The commit the report belongs to. required: true - name: reportId in: path type: string description: Either the uuid or external-id of the report. required: true - name: atlassiandeletereport method: DELETE description: Atlassian Delete A Report 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: commit in: path type: string description: The commit the report belongs to. required: true - name: reportId in: path type: string description: Either the uuid or external-id of the report. required: true - name: repositories-workspace-repo_slug-commit-commit-reports-reportId-annotations path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations operations: - name: atlassiangetannotationsforreport method: GET description: Atlassian List Annotations 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: commit in: path type: string description: The commit for which to retrieve reports. required: true - name: reportId in: path type: string description: Uuid or external-if of the report for which to get annotations for. required: true - name: atlassianbulkcreateorupdateannotations method: POST description: Atlassian Bulk Create Or Update Annotations 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: commit in: path type: string description: The commit for which to retrieve reports. required: true - name: reportId in: path type: string description: Uuid or external-if of the report for which to get annotations for. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: repositories-workspace-repo_slug-commit-commit-reports-reportId-annotations-anno path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} operations: - name: atlassiangetannotation method: GET description: Atlassian Get An Annotation 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: commit in: path type: string description: The commit the report belongs to. required: true - name: reportId in: path type: string description: Either the uuid or external-id of the report. required: true - name: annotationId in: path type: string description: Either the uuid or external-id of the annotation. required: true - name: atlassiancreateorupdateannotation method: PUT description: Atlassian Create Or Update An Annotation 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: commit in: path type: string description: The commit the report belongs to. required: true - name: reportId in: path type: string description: Either the uuid or external-id of the report. required: true - name: annotationId in: path type: string description: Either the uuid or external-id of the annotation. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: atlassiandeleteannotation method: DELETE description: Atlassian Delete An Annotation 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: commit in: path type: string description: The commit the annotation belongs to. required: true - name: reportId in: path type: string description: Either the uuid or external-id of the annotation. required: true - name: annotationId in: path type: string description: Either the uuid or external-id of the annotation. required: true authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: bitbucket-reports-commits-rest port: 8080 description: REST adapter for Atlassian Bitbucket API — Reports - Commits. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports name: repositories-workspace-repo-slug-commit-commit-reports description: REST surface for repositories-workspace-repo_slug-commit-commit-reports. operations: - method: GET name: atlassiangetreportsforcommit description: Atlassian List Reports call: bitbucket-reports-commits.atlassiangetreportsforcommit with: workspace: rest.workspace repo_slug: rest.repo_slug commit: rest.commit outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports/{reportid} name: repositories-workspace-repo-slug-commit-commit-reports-reportid description: REST surface for repositories-workspace-repo_slug-commit-commit-reports-reportId. operations: - method: PUT name: atlassiancreateorupdatereport description: Atlassian Create Or Update A Report call: bitbucket-reports-commits.atlassiancreateorupdatereport with: workspace: rest.workspace repo_slug: rest.repo_slug commit: rest.commit reportId: rest.reportId body: rest.body outputParameters: - type: object mapping: $. - method: GET name: atlassiangetreport description: Atlassian Get A Report call: bitbucket-reports-commits.atlassiangetreport with: workspace: rest.workspace repo_slug: rest.repo_slug commit: rest.commit reportId: rest.reportId outputParameters: - type: object mapping: $. - method: DELETE name: atlassiandeletereport description: Atlassian Delete A Report call: bitbucket-reports-commits.atlassiandeletereport with: workspace: rest.workspace repo_slug: rest.repo_slug commit: rest.commit reportId: rest.reportId outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports/{reportid}/annotations name: repositories-workspace-repo-slug-commit-commit-reports-reportid-annotations description: REST surface for repositories-workspace-repo_slug-commit-commit-reports-reportId-annotations. operations: - method: GET name: atlassiangetannotationsforreport description: Atlassian List Annotations call: bitbucket-reports-commits.atlassiangetannotationsforreport with: workspace: rest.workspace repo_slug: rest.repo_slug commit: rest.commit reportId: rest.reportId outputParameters: - type: object mapping: $. - method: POST name: atlassianbulkcreateorupdateannotations description: Atlassian Bulk Create Or Update Annotations call: bitbucket-reports-commits.atlassianbulkcreateorupdateannotations with: workspace: rest.workspace repo_slug: rest.repo_slug commit: rest.commit reportId: rest.reportId body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports/{reportid}/annotations/{annotationid} name: repositories-workspace-repo-slug-commit-commit-reports-reportid-annotations-anno description: REST surface for repositories-workspace-repo_slug-commit-commit-reports-reportId-annotations-anno. operations: - method: GET name: atlassiangetannotation description: Atlassian Get An Annotation call: bitbucket-reports-commits.atlassiangetannotation with: workspace: rest.workspace repo_slug: rest.repo_slug commit: rest.commit reportId: rest.reportId annotationId: rest.annotationId outputParameters: - type: object mapping: $. - method: PUT name: atlassiancreateorupdateannotation description: Atlassian Create Or Update An Annotation call: bitbucket-reports-commits.atlassiancreateorupdateannotation with: workspace: rest.workspace repo_slug: rest.repo_slug commit: rest.commit reportId: rest.reportId annotationId: rest.annotationId body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: atlassiandeleteannotation description: Atlassian Delete An Annotation call: bitbucket-reports-commits.atlassiandeleteannotation with: workspace: rest.workspace repo_slug: rest.repo_slug commit: rest.commit reportId: rest.reportId annotationId: rest.annotationId outputParameters: - type: object mapping: $. - type: mcp namespace: bitbucket-reports-commits-mcp port: 9090 transport: http description: MCP adapter for Atlassian Bitbucket API — Reports - Commits. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-list-reports description: Atlassian List Reports hints: readOnly: true destructive: false idempotent: true call: bitbucket-reports-commits.atlassiangetreportsforcommit with: workspace: tools.workspace repo_slug: tools.repo_slug commit: tools.commit outputParameters: - type: object mapping: $. - name: atlassian-create-update-report description: Atlassian Create Or Update A Report hints: readOnly: false destructive: false idempotent: true call: bitbucket-reports-commits.atlassiancreateorupdatereport with: workspace: tools.workspace repo_slug: tools.repo_slug commit: tools.commit reportId: tools.reportId body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-get-report description: Atlassian Get A Report hints: readOnly: true destructive: false idempotent: true call: bitbucket-reports-commits.atlassiangetreport with: workspace: tools.workspace repo_slug: tools.repo_slug commit: tools.commit reportId: tools.reportId outputParameters: - type: object mapping: $. - name: atlassian-delete-report description: Atlassian Delete A Report hints: readOnly: false destructive: true idempotent: true call: bitbucket-reports-commits.atlassiandeletereport with: workspace: tools.workspace repo_slug: tools.repo_slug commit: tools.commit reportId: tools.reportId outputParameters: - type: object mapping: $. - name: atlassian-list-annotations description: Atlassian List Annotations hints: readOnly: true destructive: false idempotent: true call: bitbucket-reports-commits.atlassiangetannotationsforreport with: workspace: tools.workspace repo_slug: tools.repo_slug commit: tools.commit reportId: tools.reportId outputParameters: - type: object mapping: $. - name: atlassian-bulk-create-update-annotations description: Atlassian Bulk Create Or Update Annotations hints: readOnly: false destructive: false idempotent: false call: bitbucket-reports-commits.atlassianbulkcreateorupdateannotations with: workspace: tools.workspace repo_slug: tools.repo_slug commit: tools.commit reportId: tools.reportId body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-get-annotation description: Atlassian Get An Annotation hints: readOnly: true destructive: false idempotent: true call: bitbucket-reports-commits.atlassiangetannotation with: workspace: tools.workspace repo_slug: tools.repo_slug commit: tools.commit reportId: tools.reportId annotationId: tools.annotationId outputParameters: - type: object mapping: $. - name: atlassian-create-update-annotation description: Atlassian Create Or Update An Annotation hints: readOnly: false destructive: false idempotent: true call: bitbucket-reports-commits.atlassiancreateorupdateannotation with: workspace: tools.workspace repo_slug: tools.repo_slug commit: tools.commit reportId: tools.reportId annotationId: tools.annotationId body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-delete-annotation description: Atlassian Delete An Annotation hints: readOnly: false destructive: true idempotent: true call: bitbucket-reports-commits.atlassiandeleteannotation with: workspace: tools.workspace repo_slug: tools.repo_slug commit: tools.commit reportId: tools.reportId annotationId: tools.annotationId outputParameters: - type: object mapping: $.