naftiko: 1.0.0-alpha2 info: label: Atlassian repositories/ — Deployments description: 'Atlassian repositories/ — Deployments. 12 operations. Lead operation: Atlassian List Repository Deploy Keys. 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: repositories--deployments baseUri: https://api.bitbucket.org/2.0 description: Atlassian repositories/ — Deployments business capability. Self-contained, no shared references. resources: - name: repositories-workspace-repo_slug-deploy-keys path: /repositories/{workspace}/{repo_slug}/deploy-keys operations: - name: atlassianlistrepositorydeploykeys method: GET description: Atlassian List Repository Deploy Keys outputRawFormat: json outputParameters: - name: result type: object value: $. - name: atlassianaddarepositorydeploykey method: POST description: Atlassian Add A Repository Deploy Key outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-deploy-keys-key_id path: /repositories/{workspace}/{repo_slug}/deploy-keys/{key_id} operations: - name: atlassiandeletearepositorydeploykey method: DELETE description: Atlassian Delete A Repository Deploy Key outputRawFormat: json outputParameters: - name: result type: object value: $. - name: atlassiangetarepositorydeploykey method: GET description: Atlassian Get A Repository Deploy Key outputRawFormat: json outputParameters: - name: result type: object value: $. - name: atlassianupdatearepositorydeploykey method: PUT description: Atlassian Update A Repository Deploy Key outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-deployments path: /repositories/{workspace}/{repo_slug}/deployments operations: - name: atlassiangetdeploymentsforrepository 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: atlassiangetdeploymentforrepository method: GET description: Atlassian Get A 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 - name: repositories-workspace-repo_slug-environments path: /repositories/{workspace}/{repo_slug}/environments operations: - name: atlassiangetenvironmentsforrepository method: GET description: Atlassian List Environments 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: atlassiancreateenvironment method: POST description: Atlassian Create An Environment 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: body in: body type: object description: Request body (JSON). required: true - name: repositories-workspace-repo_slug-environments-environment_uuid path: /repositories/{workspace}/{repo_slug}/environments/{environment_uuid} operations: - name: atlassiangetenvironmentforrepository method: GET description: Atlassian Get An Environment 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: environment_uuid in: path type: string description: The environment UUID. required: true - name: atlassiandeleteenvironmentforrepository method: DELETE description: Atlassian Delete An Environment 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: environment_uuid in: path type: string description: The environment UUID. required: true - name: repositories-workspace-repo_slug-environments-environment_uuid-changes path: /repositories/{workspace}/{repo_slug}/environments/{environment_uuid}/changes operations: - name: atlassianupdateenvironmentforrepository method: POST description: Atlassian Update An Environment 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: environment_uuid in: path type: string description: The environment UUID. required: true exposes: - type: rest namespace: repositories--deployments-rest port: 8080 description: REST adapter for Atlassian repositories/ — Deployments. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repositories/{workspace}/{repo-slug}/deploy-keys name: repositories-workspace-repo-slug-deploy-keys description: REST surface for repositories-workspace-repo_slug-deploy-keys. operations: - method: GET name: atlassianlistrepositorydeploykeys description: Atlassian List Repository Deploy Keys call: repositories--deployments.atlassianlistrepositorydeploykeys outputParameters: - type: object mapping: $. - method: POST name: atlassianaddarepositorydeploykey description: Atlassian Add A Repository Deploy Key call: repositories--deployments.atlassianaddarepositorydeploykey outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/deploy-keys/{key-id} name: repositories-workspace-repo-slug-deploy-keys-key-id description: REST surface for repositories-workspace-repo_slug-deploy-keys-key_id. operations: - method: DELETE name: atlassiandeletearepositorydeploykey description: Atlassian Delete A Repository Deploy Key call: repositories--deployments.atlassiandeletearepositorydeploykey outputParameters: - type: object mapping: $. - method: GET name: atlassiangetarepositorydeploykey description: Atlassian Get A Repository Deploy Key call: repositories--deployments.atlassiangetarepositorydeploykey outputParameters: - type: object mapping: $. - method: PUT name: atlassianupdatearepositorydeploykey description: Atlassian Update A Repository Deploy Key call: repositories--deployments.atlassianupdatearepositorydeploykey outputParameters: - type: object mapping: $. - 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: atlassiangetdeploymentsforrepository description: Atlassian List Deployments call: repositories--deployments.atlassiangetdeploymentsforrepository 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: atlassiangetdeploymentforrepository description: Atlassian Get A Deployment call: repositories--deployments.atlassiangetdeploymentforrepository with: workspace: rest.workspace repo_slug: rest.repo_slug deployment_uuid: rest.deployment_uuid outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/environments name: repositories-workspace-repo-slug-environments description: REST surface for repositories-workspace-repo_slug-environments. operations: - method: GET name: atlassiangetenvironmentsforrepository description: Atlassian List Environments call: repositories--deployments.atlassiangetenvironmentsforrepository with: workspace: rest.workspace repo_slug: rest.repo_slug outputParameters: - type: object mapping: $. - method: POST name: atlassiancreateenvironment description: Atlassian Create An Environment call: repositories--deployments.atlassiancreateenvironment with: workspace: rest.workspace repo_slug: rest.repo_slug body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/environments/{environment-uuid} name: repositories-workspace-repo-slug-environments-environment-uuid description: REST surface for repositories-workspace-repo_slug-environments-environment_uuid. operations: - method: GET name: atlassiangetenvironmentforrepository description: Atlassian Get An Environment call: repositories--deployments.atlassiangetenvironmentforrepository with: workspace: rest.workspace repo_slug: rest.repo_slug environment_uuid: rest.environment_uuid outputParameters: - type: object mapping: $. - method: DELETE name: atlassiandeleteenvironmentforrepository description: Atlassian Delete An Environment call: repositories--deployments.atlassiandeleteenvironmentforrepository with: workspace: rest.workspace repo_slug: rest.repo_slug environment_uuid: rest.environment_uuid outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/environments/{environment-uuid}/changes name: repositories-workspace-repo-slug-environments-environment-uuid-changes description: REST surface for repositories-workspace-repo_slug-environments-environment_uuid-changes. operations: - method: POST name: atlassianupdateenvironmentforrepository description: Atlassian Update An Environment call: repositories--deployments.atlassianupdateenvironmentforrepository with: workspace: rest.workspace repo_slug: rest.repo_slug environment_uuid: rest.environment_uuid outputParameters: - type: object mapping: $. - type: mcp namespace: repositories--deployments-mcp port: 9090 transport: http description: MCP adapter for Atlassian repositories/ — Deployments. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-list-repository-deploy-keys description: Atlassian List Repository Deploy Keys hints: readOnly: true destructive: false idempotent: true call: repositories--deployments.atlassianlistrepositorydeploykeys outputParameters: - type: object mapping: $. - name: atlassian-add-repository-deploy-key description: Atlassian Add A Repository Deploy Key hints: readOnly: false destructive: false idempotent: false call: repositories--deployments.atlassianaddarepositorydeploykey outputParameters: - type: object mapping: $. - name: atlassian-delete-repository-deploy-key description: Atlassian Delete A Repository Deploy Key hints: readOnly: false destructive: true idempotent: true call: repositories--deployments.atlassiandeletearepositorydeploykey outputParameters: - type: object mapping: $. - name: atlassian-get-repository-deploy-key description: Atlassian Get A Repository Deploy Key hints: readOnly: true destructive: false idempotent: true call: repositories--deployments.atlassiangetarepositorydeploykey outputParameters: - type: object mapping: $. - name: atlassian-update-repository-deploy-key description: Atlassian Update A Repository Deploy Key hints: readOnly: false destructive: false idempotent: true call: repositories--deployments.atlassianupdatearepositorydeploykey outputParameters: - type: object mapping: $. - name: atlassian-list-deployments description: Atlassian List Deployments hints: readOnly: true destructive: false idempotent: true call: repositories--deployments.atlassiangetdeploymentsforrepository with: workspace: tools.workspace repo_slug: tools.repo_slug outputParameters: - type: object mapping: $. - name: atlassian-get-deployment description: Atlassian Get A Deployment hints: readOnly: true destructive: false idempotent: true call: repositories--deployments.atlassiangetdeploymentforrepository with: workspace: tools.workspace repo_slug: tools.repo_slug deployment_uuid: tools.deployment_uuid outputParameters: - type: object mapping: $. - name: atlassian-list-environments description: Atlassian List Environments hints: readOnly: true destructive: false idempotent: true call: repositories--deployments.atlassiangetenvironmentsforrepository with: workspace: tools.workspace repo_slug: tools.repo_slug outputParameters: - type: object mapping: $. - name: atlassian-create-environment description: Atlassian Create An Environment hints: readOnly: false destructive: false idempotent: false call: repositories--deployments.atlassiancreateenvironment with: workspace: tools.workspace repo_slug: tools.repo_slug body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-get-environment description: Atlassian Get An Environment hints: readOnly: true destructive: false idempotent: true call: repositories--deployments.atlassiangetenvironmentforrepository with: workspace: tools.workspace repo_slug: tools.repo_slug environment_uuid: tools.environment_uuid outputParameters: - type: object mapping: $. - name: atlassian-delete-environment description: Atlassian Delete An Environment hints: readOnly: false destructive: true idempotent: true call: repositories--deployments.atlassiandeleteenvironmentforrepository with: workspace: tools.workspace repo_slug: tools.repo_slug environment_uuid: tools.environment_uuid outputParameters: - type: object mapping: $. - name: atlassian-update-environment description: Atlassian Update An Environment hints: readOnly: false destructive: false idempotent: false call: repositories--deployments.atlassianupdateenvironmentforrepository with: workspace: tools.workspace repo_slug: tools.repo_slug environment_uuid: tools.environment_uuid outputParameters: - type: object mapping: $.