naftiko: 1.0.0-alpha2 info: label: Atlassian Bit Bucket Repositories API — Update description: 'Atlassian Bit Bucket Repositories API — Update. 27 operations. Lead operation: Atlassian Update Repository. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Update 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-update baseUri: https://api.bitbucket.org/2.0 description: Atlassian Bit Bucket Repositories API — Update business capability. Self-contained, no shared references. resources: - name: repositories-workspace-repo_slug path: /repositories/{workspace}/{repo_slug} operations: - name: updaterepository method: PUT description: Atlassian Update Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: repositories-workspace-repo_slug-branch-restrictions-id path: /repositories/{workspace}/{repo_slug}/branch-restrictions/{id} operations: - name: updatebranchrestrictionrule method: PUT description: Atlassian Update Branch Restriction Rule outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: repositories-workspace-repo_slug-branching-model-settings path: /repositories/{workspace}/{repo_slug}/branching-model/settings operations: - name: updatethebranchingmodelconfigforrepository method: PUT description: Atlassian Update the Branching Model Config for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-commit-commit-comments-comment_id path: /repositories/{workspace}/{repo_slug}/commit/{commit}/comments/{comment_id} operations: - name: updatecommitcomment method: PUT description: Atlassian Update Commit Comment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: repositories-workspace-repo_slug-commit-commit-properties-app_key-property_name path: /repositories/{workspace}/{repo_slug}/commit/{commit}/properties/{app_key}/{property_name} operations: - name: updatecommitapplicationproperty method: PUT description: Atlassian Update Commit Application Property outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: The repository container; either the workspace slug or the UUID in curly braces. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: commit in: path type: string description: The commit. required: true - name: app_key in: path type: string description: The key of the Connect app. required: true - name: property_name in: path type: string description: The name of the property. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repositories-workspace-repo_slug-commit-commit-reports-reportId path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} operations: - name: createorupdatereport method: PUT description: Atlassian Create or Update 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: repositories-workspace-repo_slug-commit-commit-reports-reportId-annotations path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations operations: - name: bulkcreateorupdateannotations 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: createorupdateanannotation 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: repositories-workspace-repo_slug-commit-commit-statuses-build-key path: /repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build/{key} operations: - name: updatebuildstatusforcommit method: PUT description: Atlassian Update Build Status for Commit outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: repositories-workspace-repo_slug-deploy-keys-key_id path: /repositories/{workspace}/{repo_slug}/deploy-keys/{key_id} operations: - name: updaterepositorydeploykey method: PUT description: Atlassian Update Repository Deploy Key outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-deployments_config-environments-environment_uui path: /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables/{variable_uuid} operations: - name: updatevariableforanenvironment method: PUT description: Atlassian Update Variable for 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. required: true - name: variable_uuid in: path type: string description: The UUID of the variable to update. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: repositories-workspace-repo_slug-environments-environment_uuid-changes path: /repositories/{workspace}/{repo_slug}/environments/{environment_uuid}/changes operations: - name: updateanenvironment 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 - name: repositories-workspace-repo_slug-hooks-uid path: /repositories/{workspace}/{repo_slug}/hooks/{uid} operations: - name: updatewebhookforrepository method: PUT description: Atlassian Update Webhook for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-issues-issue_id-comments-comment_id path: /repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments/{comment_id} operations: - name: updatecommentonanissue method: PUT description: Atlassian Update Comment on an Issue outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: repositories-workspace-repo_slug-permissions-config-groups-group_slug path: /repositories/{workspace}/{repo_slug}/permissions-config/groups/{group_slug} operations: - name: updateanexplicitgrouppermissionforrepository method: PUT description: Atlassian Update an Explicit Group Permission for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: repositories-workspace-repo_slug-permissions-config-users-selected_user_id path: /repositories/{workspace}/{repo_slug}/permissions-config/users/{selected_user_id} operations: - name: updateanexplicituserpermissionforrepository method: PUT description: Atlassian Update an Explicit User Permission for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: repositories-workspace-repo_slug-pipelines_config path: /repositories/{workspace}/{repo_slug}/pipelines_config operations: - name: updateconfiguration method: PUT description: Atlassian Update Configuration 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-pipelines_config-build_number path: /repositories/{workspace}/{repo_slug}/pipelines_config/build_number operations: - name: updatethenextbuildnumber method: PUT description: Atlassian Update the Next Build Number 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-pipelines_config-schedules-schedule_uuid path: /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid} operations: - name: updateschedule method: PUT description: Atlassian Update Schedule 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: schedule_uuid in: path type: string description: The uuid of the schedule. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: repositories-workspace-repo_slug-pipelines_config-ssh-key_pair path: /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/key_pair operations: - name: updatesshkeypair method: PUT description: Atlassian Update Ssh Key Pair 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-pipelines_config-ssh-known_hosts-known_host_uui path: /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts/{known_host_uuid} operations: - name: updateknownhost method: PUT description: Atlassian Update Known Host 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: known_host_uuid in: path type: string description: The UUID of the known host to update. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: repositories-workspace-repo_slug-pipelines_config-variables-variable_uuid path: /repositories/{workspace}/{repo_slug}/pipelines_config/variables/{variable_uuid} operations: - name: updatevariableforrepository method: PUT description: Atlassian Update Variable for Repository 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: variable_uuid in: path type: string description: The UUID of the variable to update. required: true - name: body in: body type: object description: Request body (JSON). required: true - name: repositories-workspace-repo_slug-properties-app_key-property_name path: /repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name} operations: - name: updaterepositoryapplicationproperty method: PUT description: Atlassian Update Repository Application Property outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: The repository container; either the workspace slug or the UUID in curly braces. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: app_key in: path type: string description: The key of the Connect app. required: true - name: property_name in: path type: string description: The name of the property. required: true - name: body in: body type: object description: Request body (JSON). required: false - name: repositories-workspace-repo_slug-pullrequests-pull_request_id path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id} operations: - name: updatepullrequest method: PUT description: Atlassian Update Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-comments-comment_i path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments/{comment_id} operations: - name: updatecommentonpullrequest method: PUT description: Atlassian Update Comment on Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-tasks-task_id path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks/{task_id} operations: - name: updatetaskonpullrequest method: PUT description: Atlassian Update Task on Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: true - name: repositories-workspace-repo_slug-pullrequests-pullrequest_id-properties-app_key- path: /repositories/{workspace}/{repo_slug}/pullrequests/{pullrequest_id}/properties/{app_key}/{property_name} operations: - name: updatepullrequestapplicationproperty method: PUT description: Atlassian Update Pull Request Application Property outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: The repository container; either the workspace slug or the UUID in curly braces. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: pullrequest_id in: path type: string description: The pull request ID. required: true - name: app_key in: path type: string description: The key of the Connect app. required: true - name: property_name in: path type: string description: The name of the property. required: true - name: body in: body type: object description: Request body (JSON). required: false authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: bitbucket-repositories-update-rest port: 8080 description: REST adapter for Atlassian Bit Bucket Repositories API — Update. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repositories/{workspace}/{repo-slug} name: repositories-workspace-repo-slug description: REST surface for repositories-workspace-repo_slug. operations: - method: PUT name: updaterepository description: Atlassian Update Repository call: bitbucket-repositories-update.updaterepository with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/branch-restrictions/{id} name: repositories-workspace-repo-slug-branch-restrictions-id description: REST surface for repositories-workspace-repo_slug-branch-restrictions-id. operations: - method: PUT name: updatebranchrestrictionrule description: Atlassian Update Branch Restriction Rule call: bitbucket-repositories-update.updatebranchrestrictionrule with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/branching-model/settings name: repositories-workspace-repo-slug-branching-model-settings description: REST surface for repositories-workspace-repo_slug-branching-model-settings. operations: - method: PUT name: updatethebranchingmodelconfigforrepository description: Atlassian Update the Branching Model Config for Repository call: bitbucket-repositories-update.updatethebranchingmodelconfigforrepository outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/commit/{commit}/comments/{comment-id} name: repositories-workspace-repo-slug-commit-commit-comments-comment-id description: REST surface for repositories-workspace-repo_slug-commit-commit-comments-comment_id. operations: - method: PUT name: updatecommitcomment description: Atlassian Update Commit Comment call: bitbucket-repositories-update.updatecommitcomment with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/commit/{commit}/properties/{app-key}/{property-name} name: repositories-workspace-repo-slug-commit-commit-properties-app-key-property-name description: REST surface for repositories-workspace-repo_slug-commit-commit-properties-app_key-property_name. operations: - method: PUT name: updatecommitapplicationproperty description: Atlassian Update Commit Application Property call: bitbucket-repositories-update.updatecommitapplicationproperty with: workspace: rest.workspace repo_slug: rest.repo_slug commit: rest.commit app_key: rest.app_key property_name: rest.property_name body: rest.body 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: createorupdatereport description: Atlassian Create or Update Report call: bitbucket-repositories-update.createorupdatereport 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 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: POST name: bulkcreateorupdateannotations description: Atlassian Bulk Create or Update Annotations call: bitbucket-repositories-update.bulkcreateorupdateannotations 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: PUT name: createorupdateanannotation description: Atlassian Create or Update an Annotation call: bitbucket-repositories-update.createorupdateanannotation 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: $. - path: /v1/repositories/{workspace}/{repo-slug}/commit/{commit}/statuses/build/{key} name: repositories-workspace-repo-slug-commit-commit-statuses-build-key description: REST surface for repositories-workspace-repo_slug-commit-commit-statuses-build-key. operations: - method: PUT name: updatebuildstatusforcommit description: Atlassian Update Build Status for Commit call: bitbucket-repositories-update.updatebuildstatusforcommit with: body: rest.body 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: PUT name: updaterepositorydeploykey description: Atlassian Update Repository Deploy Key call: bitbucket-repositories-update.updaterepositorydeploykey outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/deployments-config/environments/{environment-uuid}/variables/{variable-uuid} name: repositories-workspace-repo-slug-deployments-config-environments-environment-uui description: REST surface for repositories-workspace-repo_slug-deployments_config-environments-environment_uui. operations: - method: PUT name: updatevariableforanenvironment description: Atlassian Update Variable for an Environment call: bitbucket-repositories-update.updatevariableforanenvironment with: workspace: rest.workspace repo_slug: rest.repo_slug environment_uuid: rest.environment_uuid variable_uuid: rest.variable_uuid body: rest.body 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: updateanenvironment description: Atlassian Update an Environment call: bitbucket-repositories-update.updateanenvironment with: workspace: rest.workspace repo_slug: rest.repo_slug environment_uuid: rest.environment_uuid outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/hooks/{uid} name: repositories-workspace-repo-slug-hooks-uid description: REST surface for repositories-workspace-repo_slug-hooks-uid. operations: - method: PUT name: updatewebhookforrepository description: Atlassian Update Webhook for Repository call: bitbucket-repositories-update.updatewebhookforrepository outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/issues/{issue-id}/comments/{comment-id} name: repositories-workspace-repo-slug-issues-issue-id-comments-comment-id description: REST surface for repositories-workspace-repo_slug-issues-issue_id-comments-comment_id. operations: - method: PUT name: updatecommentonanissue description: Atlassian Update Comment on an Issue call: bitbucket-repositories-update.updatecommentonanissue with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/permissions-config/groups/{group-slug} name: repositories-workspace-repo-slug-permissions-config-groups-group-slug description: REST surface for repositories-workspace-repo_slug-permissions-config-groups-group_slug. operations: - method: PUT name: updateanexplicitgrouppermissionforrepository description: Atlassian Update an Explicit Group Permission for Repository call: bitbucket-repositories-update.updateanexplicitgrouppermissionforrepository with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/permissions-config/users/{selected-user-id} name: repositories-workspace-repo-slug-permissions-config-users-selected-user-id description: REST surface for repositories-workspace-repo_slug-permissions-config-users-selected_user_id. operations: - method: PUT name: updateanexplicituserpermissionforrepository description: Atlassian Update an Explicit User Permission for Repository call: bitbucket-repositories-update.updateanexplicituserpermissionforrepository with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config name: repositories-workspace-repo-slug-pipelines-config description: REST surface for repositories-workspace-repo_slug-pipelines_config. operations: - method: PUT name: updateconfiguration description: Atlassian Update Configuration call: bitbucket-repositories-update.updateconfiguration with: workspace: rest.workspace repo_slug: rest.repo_slug body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config/build-number name: repositories-workspace-repo-slug-pipelines-config-build-number description: REST surface for repositories-workspace-repo_slug-pipelines_config-build_number. operations: - method: PUT name: updatethenextbuildnumber description: Atlassian Update the Next Build Number call: bitbucket-repositories-update.updatethenextbuildnumber with: workspace: rest.workspace repo_slug: rest.repo_slug body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config/schedules/{schedule-uuid} name: repositories-workspace-repo-slug-pipelines-config-schedules-schedule-uuid description: REST surface for repositories-workspace-repo_slug-pipelines_config-schedules-schedule_uuid. operations: - method: PUT name: updateschedule description: Atlassian Update Schedule call: bitbucket-repositories-update.updateschedule with: workspace: rest.workspace repo_slug: rest.repo_slug schedule_uuid: rest.schedule_uuid body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config/ssh/key-pair name: repositories-workspace-repo-slug-pipelines-config-ssh-key-pair description: REST surface for repositories-workspace-repo_slug-pipelines_config-ssh-key_pair. operations: - method: PUT name: updatesshkeypair description: Atlassian Update Ssh Key Pair call: bitbucket-repositories-update.updatesshkeypair with: workspace: rest.workspace repo_slug: rest.repo_slug body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config/ssh/known-hosts/{known-host-uuid} name: repositories-workspace-repo-slug-pipelines-config-ssh-known-hosts-known-host-uui description: REST surface for repositories-workspace-repo_slug-pipelines_config-ssh-known_hosts-known_host_uui. operations: - method: PUT name: updateknownhost description: Atlassian Update Known Host call: bitbucket-repositories-update.updateknownhost with: workspace: rest.workspace repo_slug: rest.repo_slug known_host_uuid: rest.known_host_uuid body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config/variables/{variable-uuid} name: repositories-workspace-repo-slug-pipelines-config-variables-variable-uuid description: REST surface for repositories-workspace-repo_slug-pipelines_config-variables-variable_uuid. operations: - method: PUT name: updatevariableforrepository description: Atlassian Update Variable for Repository call: bitbucket-repositories-update.updatevariableforrepository with: workspace: rest.workspace repo_slug: rest.repo_slug variable_uuid: rest.variable_uuid body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/properties/{app-key}/{property-name} name: repositories-workspace-repo-slug-properties-app-key-property-name description: REST surface for repositories-workspace-repo_slug-properties-app_key-property_name. operations: - method: PUT name: updaterepositoryapplicationproperty description: Atlassian Update Repository Application Property call: bitbucket-repositories-update.updaterepositoryapplicationproperty with: workspace: rest.workspace repo_slug: rest.repo_slug app_key: rest.app_key property_name: rest.property_name body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id} name: repositories-workspace-repo-slug-pullrequests-pull-request-id description: REST surface for repositories-workspace-repo_slug-pullrequests-pull_request_id. operations: - method: PUT name: updatepullrequest description: Atlassian Update Pull Request call: bitbucket-repositories-update.updatepullrequest with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/comments/{comment-id} name: repositories-workspace-repo-slug-pullrequests-pull-request-id-comments-comment-i description: REST surface for repositories-workspace-repo_slug-pullrequests-pull_request_id-comments-comment_i. operations: - method: PUT name: updatecommentonpullrequest description: Atlassian Update Comment on Pull Request call: bitbucket-repositories-update.updatecommentonpullrequest with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/tasks/{task-id} name: repositories-workspace-repo-slug-pullrequests-pull-request-id-tasks-task-id description: REST surface for repositories-workspace-repo_slug-pullrequests-pull_request_id-tasks-task_id. operations: - method: PUT name: updatetaskonpullrequest description: Atlassian Update Task on Pull Request call: bitbucket-repositories-update.updatetaskonpullrequest with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pullrequest-id}/properties/{app-key}/{property-name} name: repositories-workspace-repo-slug-pullrequests-pullrequest-id-properties-app-key description: REST surface for repositories-workspace-repo_slug-pullrequests-pullrequest_id-properties-app_key-. operations: - method: PUT name: updatepullrequestapplicationproperty description: Atlassian Update Pull Request Application Property call: bitbucket-repositories-update.updatepullrequestapplicationproperty with: workspace: rest.workspace repo_slug: rest.repo_slug pullrequest_id: rest.pullrequest_id app_key: rest.app_key property_name: rest.property_name body: rest.body outputParameters: - type: object mapping: $. - type: mcp namespace: bitbucket-repositories-update-mcp port: 9090 transport: http description: MCP adapter for Atlassian Bit Bucket Repositories API — Update. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-update-repository description: Atlassian Update Repository hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updaterepository with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-branch-restriction-rule description: Atlassian Update Branch Restriction Rule hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updatebranchrestrictionrule with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-branching-model-config description: Atlassian Update the Branching Model Config for Repository hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updatethebranchingmodelconfigforrepository outputParameters: - type: object mapping: $. - name: atlassian-update-commit-comment description: Atlassian Update Commit Comment hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updatecommitcomment with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-commit-application-property description: Atlassian Update Commit Application Property hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updatecommitapplicationproperty with: workspace: tools.workspace repo_slug: tools.repo_slug commit: tools.commit app_key: tools.app_key property_name: tools.property_name body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-create-update-report description: Atlassian Create or Update Report hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.createorupdatereport with: workspace: tools.workspace repo_slug: tools.repo_slug commit: tools.commit reportId: tools.reportId body: tools.body 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-repositories-update.bulkcreateorupdateannotations with: workspace: tools.workspace repo_slug: tools.repo_slug commit: tools.commit reportId: tools.reportId body: tools.body 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-repositories-update.createorupdateanannotation 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-update-build-status-commit description: Atlassian Update Build Status for Commit hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updatebuildstatusforcommit with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-repository-deploy-key description: Atlassian Update Repository Deploy Key hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updaterepositorydeploykey outputParameters: - type: object mapping: $. - name: atlassian-update-variable-environment description: Atlassian Update Variable for an Environment hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updatevariableforanenvironment with: workspace: tools.workspace repo_slug: tools.repo_slug environment_uuid: tools.environment_uuid variable_uuid: tools.variable_uuid body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-environment description: Atlassian Update an Environment hints: readOnly: false destructive: false idempotent: false call: bitbucket-repositories-update.updateanenvironment with: workspace: tools.workspace repo_slug: tools.repo_slug environment_uuid: tools.environment_uuid outputParameters: - type: object mapping: $. - name: atlassian-update-webhook-repository description: Atlassian Update Webhook for Repository hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updatewebhookforrepository outputParameters: - type: object mapping: $. - name: atlassian-update-comment-issue description: Atlassian Update Comment on an Issue hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updatecommentonanissue with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-explicit-group-permission description: Atlassian Update an Explicit Group Permission for Repository hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updateanexplicitgrouppermissionforrepository with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-explicit-user-permission description: Atlassian Update an Explicit User Permission for Repository hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updateanexplicituserpermissionforrepository with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-configuration description: Atlassian Update Configuration hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updateconfiguration with: workspace: tools.workspace repo_slug: tools.repo_slug body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-next-build-number description: Atlassian Update the Next Build Number hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updatethenextbuildnumber with: workspace: tools.workspace repo_slug: tools.repo_slug body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-schedule description: Atlassian Update Schedule hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updateschedule with: workspace: tools.workspace repo_slug: tools.repo_slug schedule_uuid: tools.schedule_uuid body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-ssh-key-pair description: Atlassian Update Ssh Key Pair hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updatesshkeypair with: workspace: tools.workspace repo_slug: tools.repo_slug body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-known-host description: Atlassian Update Known Host hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updateknownhost with: workspace: tools.workspace repo_slug: tools.repo_slug known_host_uuid: tools.known_host_uuid body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-variable-repository description: Atlassian Update Variable for Repository hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updatevariableforrepository with: workspace: tools.workspace repo_slug: tools.repo_slug variable_uuid: tools.variable_uuid body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-repository-application-property description: Atlassian Update Repository Application Property hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updaterepositoryapplicationproperty with: workspace: tools.workspace repo_slug: tools.repo_slug app_key: tools.app_key property_name: tools.property_name body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-pull-request description: Atlassian Update Pull Request hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updatepullrequest with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-comment-pull-request description: Atlassian Update Comment on Pull Request hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updatecommentonpullrequest with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-task-pull-request description: Atlassian Update Task on Pull Request hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updatetaskonpullrequest with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-pull-request-application description: Atlassian Update Pull Request Application Property hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-update.updatepullrequestapplicationproperty with: workspace: tools.workspace repo_slug: tools.repo_slug pullrequest_id: tools.pullrequest_id app_key: tools.app_key property_name: tools.property_name body: tools.body outputParameters: - type: object mapping: $.