naftiko: 1.0.0-alpha2 info: label: Atlassian Bit Bucket Repositories API — Deployments description: 'Atlassian Bit Bucket Repositories API — Deployments. 2 operations. Lead operation: Atlassian List Deployments. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Deployments 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-deployments baseUri: https://api.bitbucket.org/2.0 description: Atlassian Bit Bucket Repositories API — Deployments business capability. Self-contained, no shared references. resources: - name: repositories-workspace-repo_slug-deployments path: /repositories/{workspace}/{repo_slug}/deployments operations: - name: listdeployments method: GET description: Atlassian List Deployments 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: repositories-workspace-repo_slug-deployments-deployment_uuid path: /repositories/{workspace}/{repo_slug}/deployments/{deployment_uuid} operations: - name: getdeployment method: GET description: Atlassian Get Deployment 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: deployment_uuid in: path type: string description: The deployment UUID. required: true authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: bitbucket-repositories-deployments-rest port: 8080 description: REST adapter for Atlassian Bit Bucket Repositories API — Deployments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repositories/{workspace}/{repo-slug}/deployments name: repositories-workspace-repo-slug-deployments description: REST surface for repositories-workspace-repo_slug-deployments. operations: - method: GET name: listdeployments description: Atlassian List Deployments call: bitbucket-repositories-deployments.listdeployments with: workspace: rest.workspace repo_slug: rest.repo_slug outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/deployments/{deployment-uuid} name: repositories-workspace-repo-slug-deployments-deployment-uuid description: REST surface for repositories-workspace-repo_slug-deployments-deployment_uuid. operations: - method: GET name: getdeployment description: Atlassian Get Deployment call: bitbucket-repositories-deployments.getdeployment with: workspace: rest.workspace repo_slug: rest.repo_slug deployment_uuid: rest.deployment_uuid outputParameters: - type: object mapping: $. - type: mcp namespace: bitbucket-repositories-deployments-mcp port: 9090 transport: http description: MCP adapter for Atlassian Bit Bucket Repositories API — Deployments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-list-deployments description: Atlassian List Deployments hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-deployments.listdeployments with: workspace: tools.workspace repo_slug: tools.repo_slug outputParameters: - type: object mapping: $. - name: atlassian-get-deployment description: Atlassian Get Deployment hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-deployments.getdeployment with: workspace: tools.workspace repo_slug: tools.repo_slug deployment_uuid: tools.deployment_uuid outputParameters: - type: object mapping: $.