naftiko: 1.0.0-alpha2 info: label: Atlassian Bit Bucket Repositories API — Repositories description: 'Atlassian Bit Bucket Repositories API — Repositories. 43 operations. Lead operation: Atlassian List Repositories in Workspace. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Repositories 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-repositories baseUri: https://api.bitbucket.org/2.0 description: Atlassian Bit Bucket Repositories API — Repositories business capability. Self-contained, no shared references. resources: - name: repositories-workspace path: /repositories/{workspace} operations: - name: listrepositoriesinworkspace method: GET description: Atlassian List Repositories in Workspace outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: role in: query type: string description: Filters the result based on the authenticated user's role on each repository. - name: q in: query type: string description: Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering). - name: sort in: query type: string description: Field by which the results should be sorted as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering). - name: repositories-workspace-repo_slug path: /repositories/{workspace}/{repo_slug} operations: - name: deleterepository method: DELETE description: Atlassian Delete Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: redirect_to in: query type: string description: If a repository has been moved to a new location, use this parameter to - name: getrepository method: GET description: Atlassian Get Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createrepository method: POST description: Atlassian Create Repository outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: body in: body type: object description: Request body (JSON). required: false - 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-branching-model path: /repositories/{workspace}/{repo_slug}/branching-model operations: - name: getthebranchingmodelforrepository method: GET description: Atlassian Get the Branching Model for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-branching-model-settings path: /repositories/{workspace}/{repo_slug}/branching-model/settings operations: - name: getthebranchingmodelconfigforrepository method: GET description: Atlassian Get the Branching Model Config for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - 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-default-reviewers-target_username path: /repositories/{workspace}/{repo_slug}/default-reviewers/{target_username} operations: - name: removeuserfromthedefaultreviewers method: DELETE description: Atlassian Remove User From the Default Reviewers outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-deploy-keys path: /repositories/{workspace}/{repo_slug}/deploy-keys operations: - name: listrepositorydeploykeys method: GET description: Atlassian List Repository Deploy Keys outputRawFormat: json outputParameters: - name: result type: object value: $. - name: addrepositorydeploykey method: POST description: Atlassian Add 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: deleterepositorydeploykey method: DELETE description: Atlassian Delete Repository Deploy Key outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getrepositorydeploykey method: GET description: Atlassian Get Repository Deploy Key outputRawFormat: json outputParameters: - name: result type: object value: $. - name: updaterepositorydeploykey method: PUT description: Atlassian Update Repository Deploy Key outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-effective-branching-model path: /repositories/{workspace}/{repo_slug}/effective-branching-model operations: - name: gettheeffectiveorcurrentlyappliedbranchingmodelforrepository method: GET description: Atlassian Get the Effective, or Currently Applied, Branching Model for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-forks path: /repositories/{workspace}/{repo_slug}/forks operations: - name: listrepositoryforks method: GET description: Atlassian List Repository Forks outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: role in: query type: string description: Filters the result based on the authenticated user's role on each repository. - name: q in: query type: string description: Query string to narrow down the response as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering). - name: sort in: query type: string description: Field by which the results should be sorted as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering). - name: forkrepository method: POST description: Atlassian Fork 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-hooks path: /repositories/{workspace}/{repo_slug}/hooks operations: - name: listwebhooksforrepository method: GET description: Atlassian List Webhooks for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: createwebhookforrepository method: POST description: Atlassian Create Webhook for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-hooks-uid path: /repositories/{workspace}/{repo_slug}/hooks/{uid} operations: - name: deletewebhookforrepository method: DELETE description: Atlassian Delete Webhook for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getwebhookforrepository method: GET description: Atlassian Get Webhook for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - 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 path: /repositories/{workspace}/{repo_slug}/issues/{issue_id} operations: - name: updateanissue method: PUT description: Atlassian Update an Issue outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-override-settings path: /repositories/{workspace}/{repo_slug}/override-settings operations: - name: retrievetheinheritancestateforrepositorysettings method: GET description: Atlassian Retrieve the Inheritance State for Repository Settings outputRawFormat: json outputParameters: - name: result type: object value: $. - name: settheinheritancestateforrepositorysettings method: PUT description: Atlassian Set the Inheritance State for Repository Settings outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-permissions-config-groups path: /repositories/{workspace}/{repo_slug}/permissions-config/groups operations: - name: listexplicitgrouppermissionsforrepository method: GET description: Atlassian List Explicit Group Permissions for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-permissions-config-groups-group_slug path: /repositories/{workspace}/{repo_slug}/permissions-config/groups/{group_slug} operations: - name: deleteanexplicitgrouppermissionforrepository method: DELETE description: Atlassian Delete an Explicit Group Permission for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getanexplicitgrouppermissionforrepository method: GET description: Atlassian Get an Explicit Group Permission for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - 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 path: /repositories/{workspace}/{repo_slug}/permissions-config/users operations: - name: listexplicituserpermissionsforrepository method: GET description: Atlassian List Explicit User Permissions for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-permissions-config-users-selected_user_id path: /repositories/{workspace}/{repo_slug}/permissions-config/users/{selected_user_id} operations: - name: deleteanexplicituserpermissionforrepository method: DELETE description: Atlassian Delete an Explicit User Permission for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: getanexplicituserpermissionforrepository method: GET description: Atlassian Get an Explicit User Permission for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - 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-variables path: /repositories/{workspace}/{repo_slug}/pipelines_config/variables operations: - name: listvariablesforrepository method: GET description: Atlassian List Variables 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: createvariableforrepository method: POST description: Atlassian Create 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: 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: getvariableforrepository method: GET description: Atlassian Get 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 retrieve. required: true - 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: deletevariableforrepository method: DELETE description: Atlassian Delete 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 delete. 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: deleterepositoryapplicationproperty method: DELETE description: Atlassian Delete 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: getrepositoryapplicationproperty method: GET description: Atlassian Get 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: repositories-workspace-repo_slug-watchers path: /repositories/{workspace}/{repo_slug}/watchers operations: - name: listrepositorieswatchers method: GET description: Atlassian List Repositories Watchers outputRawFormat: json outputParameters: - name: result type: object value: $. - name: workspaces-workspace-permissions-repositories-repo_slug path: /workspaces/{workspace}/permissions/repositories/{repo_slug} operations: - name: listrepositorypermissionsforworkspace method: GET description: Atlassian List Repository Permissions for Workspace outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: q in: query type: string description: Query string to narrow down the response as per - name: sort in: query type: string description: Name of a response property sort the result by as per authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: bitbucket-repositories-repositories-rest port: 8080 description: REST adapter for Atlassian Bit Bucket Repositories API — Repositories. One Spectral-compliant resource per consumed operation, prefixed with /v1. resources: - path: /v1/repositories/{workspace} name: repositories-workspace description: REST surface for repositories-workspace. operations: - method: GET name: listrepositoriesinworkspace description: Atlassian List Repositories in Workspace call: bitbucket-repositories-repositories.listrepositoriesinworkspace with: role: rest.role q: rest.q sort: rest.sort outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug} name: repositories-workspace-repo-slug description: REST surface for repositories-workspace-repo_slug. operations: - method: DELETE name: deleterepository description: Atlassian Delete Repository call: bitbucket-repositories-repositories.deleterepository with: redirect_to: rest.redirect_to outputParameters: - type: object mapping: $. - method: GET name: getrepository description: Atlassian Get Repository call: bitbucket-repositories-repositories.getrepository outputParameters: - type: object mapping: $. - method: POST name: createrepository description: Atlassian Create Repository call: bitbucket-repositories-repositories.createrepository with: body: rest.body outputParameters: - type: object mapping: $. - method: PUT name: updaterepository description: Atlassian Update Repository call: bitbucket-repositories-repositories.updaterepository with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/branching-model name: repositories-workspace-repo-slug-branching-model description: REST surface for repositories-workspace-repo_slug-branching-model. operations: - method: GET name: getthebranchingmodelforrepository description: Atlassian Get the Branching Model for Repository call: bitbucket-repositories-repositories.getthebranchingmodelforrepository 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: GET name: getthebranchingmodelconfigforrepository description: Atlassian Get the Branching Model Config for Repository call: bitbucket-repositories-repositories.getthebranchingmodelconfigforrepository outputParameters: - type: object mapping: $. - method: PUT name: updatethebranchingmodelconfigforrepository description: Atlassian Update the Branching Model Config for Repository call: bitbucket-repositories-repositories.updatethebranchingmodelconfigforrepository outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/default-reviewers/{target-username} name: repositories-workspace-repo-slug-default-reviewers-target-username description: REST surface for repositories-workspace-repo_slug-default-reviewers-target_username. operations: - method: DELETE name: removeuserfromthedefaultreviewers description: Atlassian Remove User From the Default Reviewers call: bitbucket-repositories-repositories.removeuserfromthedefaultreviewers outputParameters: - type: object mapping: $. - 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: listrepositorydeploykeys description: Atlassian List Repository Deploy Keys call: bitbucket-repositories-repositories.listrepositorydeploykeys outputParameters: - type: object mapping: $. - method: POST name: addrepositorydeploykey description: Atlassian Add Repository Deploy Key call: bitbucket-repositories-repositories.addrepositorydeploykey 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: deleterepositorydeploykey description: Atlassian Delete Repository Deploy Key call: bitbucket-repositories-repositories.deleterepositorydeploykey outputParameters: - type: object mapping: $. - method: GET name: getrepositorydeploykey description: Atlassian Get Repository Deploy Key call: bitbucket-repositories-repositories.getrepositorydeploykey outputParameters: - type: object mapping: $. - method: PUT name: updaterepositorydeploykey description: Atlassian Update Repository Deploy Key call: bitbucket-repositories-repositories.updaterepositorydeploykey outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/effective-branching-model name: repositories-workspace-repo-slug-effective-branching-model description: REST surface for repositories-workspace-repo_slug-effective-branching-model. operations: - method: GET name: gettheeffectiveorcurrentlyappliedbranchingmodelforrepository description: Atlassian Get the Effective, or Currently Applied, Branching Model for Repository call: bitbucket-repositories-repositories.gettheeffectiveorcurrentlyappliedbranchingmodelforrepository outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/forks name: repositories-workspace-repo-slug-forks description: REST surface for repositories-workspace-repo_slug-forks. operations: - method: GET name: listrepositoryforks description: Atlassian List Repository Forks call: bitbucket-repositories-repositories.listrepositoryforks with: role: rest.role q: rest.q sort: rest.sort outputParameters: - type: object mapping: $. - method: POST name: forkrepository description: Atlassian Fork Repository call: bitbucket-repositories-repositories.forkrepository with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/hooks name: repositories-workspace-repo-slug-hooks description: REST surface for repositories-workspace-repo_slug-hooks. operations: - method: GET name: listwebhooksforrepository description: Atlassian List Webhooks for Repository call: bitbucket-repositories-repositories.listwebhooksforrepository outputParameters: - type: object mapping: $. - method: POST name: createwebhookforrepository description: Atlassian Create Webhook for Repository call: bitbucket-repositories-repositories.createwebhookforrepository 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: DELETE name: deletewebhookforrepository description: Atlassian Delete Webhook for Repository call: bitbucket-repositories-repositories.deletewebhookforrepository outputParameters: - type: object mapping: $. - method: GET name: getwebhookforrepository description: Atlassian Get Webhook for Repository call: bitbucket-repositories-repositories.getwebhookforrepository outputParameters: - type: object mapping: $. - method: PUT name: updatewebhookforrepository description: Atlassian Update Webhook for Repository call: bitbucket-repositories-repositories.updatewebhookforrepository outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/issues/{issue-id} name: repositories-workspace-repo-slug-issues-issue-id description: REST surface for repositories-workspace-repo_slug-issues-issue_id. operations: - method: PUT name: updateanissue description: Atlassian Update an Issue call: bitbucket-repositories-repositories.updateanissue outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/override-settings name: repositories-workspace-repo-slug-override-settings description: REST surface for repositories-workspace-repo_slug-override-settings. operations: - method: GET name: retrievetheinheritancestateforrepositorysettings description: Atlassian Retrieve the Inheritance State for Repository Settings call: bitbucket-repositories-repositories.retrievetheinheritancestateforrepositorysettings outputParameters: - type: object mapping: $. - method: PUT name: settheinheritancestateforrepositorysettings description: Atlassian Set the Inheritance State for Repository Settings call: bitbucket-repositories-repositories.settheinheritancestateforrepositorysettings outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/permissions-config/groups name: repositories-workspace-repo-slug-permissions-config-groups description: REST surface for repositories-workspace-repo_slug-permissions-config-groups. operations: - method: GET name: listexplicitgrouppermissionsforrepository description: Atlassian List Explicit Group Permissions for Repository call: bitbucket-repositories-repositories.listexplicitgrouppermissionsforrepository 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: DELETE name: deleteanexplicitgrouppermissionforrepository description: Atlassian Delete an Explicit Group Permission for Repository call: bitbucket-repositories-repositories.deleteanexplicitgrouppermissionforrepository outputParameters: - type: object mapping: $. - method: GET name: getanexplicitgrouppermissionforrepository description: Atlassian Get an Explicit Group Permission for Repository call: bitbucket-repositories-repositories.getanexplicitgrouppermissionforrepository outputParameters: - type: object mapping: $. - method: PUT name: updateanexplicitgrouppermissionforrepository description: Atlassian Update an Explicit Group Permission for Repository call: bitbucket-repositories-repositories.updateanexplicitgrouppermissionforrepository with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/permissions-config/users name: repositories-workspace-repo-slug-permissions-config-users description: REST surface for repositories-workspace-repo_slug-permissions-config-users. operations: - method: GET name: listexplicituserpermissionsforrepository description: Atlassian List Explicit User Permissions for Repository call: bitbucket-repositories-repositories.listexplicituserpermissionsforrepository 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: DELETE name: deleteanexplicituserpermissionforrepository description: Atlassian Delete an Explicit User Permission for Repository call: bitbucket-repositories-repositories.deleteanexplicituserpermissionforrepository outputParameters: - type: object mapping: $. - method: GET name: getanexplicituserpermissionforrepository description: Atlassian Get an Explicit User Permission for Repository call: bitbucket-repositories-repositories.getanexplicituserpermissionforrepository outputParameters: - type: object mapping: $. - method: PUT name: updateanexplicituserpermissionforrepository description: Atlassian Update an Explicit User Permission for Repository call: bitbucket-repositories-repositories.updateanexplicituserpermissionforrepository with: body: rest.body outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config/variables name: repositories-workspace-repo-slug-pipelines-config-variables description: REST surface for repositories-workspace-repo_slug-pipelines_config-variables. operations: - method: GET name: listvariablesforrepository description: Atlassian List Variables for Repository call: bitbucket-repositories-repositories.listvariablesforrepository with: workspace: rest.workspace repo_slug: rest.repo_slug outputParameters: - type: object mapping: $. - method: POST name: createvariableforrepository description: Atlassian Create Variable for Repository call: bitbucket-repositories-repositories.createvariableforrepository with: workspace: rest.workspace repo_slug: rest.repo_slug 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: GET name: getvariableforrepository description: Atlassian Get Variable for Repository call: bitbucket-repositories-repositories.getvariableforrepository with: workspace: rest.workspace repo_slug: rest.repo_slug variable_uuid: rest.variable_uuid outputParameters: - type: object mapping: $. - method: PUT name: updatevariableforrepository description: Atlassian Update Variable for Repository call: bitbucket-repositories-repositories.updatevariableforrepository with: workspace: rest.workspace repo_slug: rest.repo_slug variable_uuid: rest.variable_uuid body: rest.body outputParameters: - type: object mapping: $. - method: DELETE name: deletevariableforrepository description: Atlassian Delete Variable for Repository call: bitbucket-repositories-repositories.deletevariableforrepository with: workspace: rest.workspace repo_slug: rest.repo_slug variable_uuid: rest.variable_uuid 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-repositories.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: $. - method: DELETE name: deleterepositoryapplicationproperty description: Atlassian Delete Repository Application Property call: bitbucket-repositories-repositories.deleterepositoryapplicationproperty with: workspace: rest.workspace repo_slug: rest.repo_slug app_key: rest.app_key property_name: rest.property_name outputParameters: - type: object mapping: $. - method: GET name: getrepositoryapplicationproperty description: Atlassian Get Repository Application Property call: bitbucket-repositories-repositories.getrepositoryapplicationproperty with: workspace: rest.workspace repo_slug: rest.repo_slug app_key: rest.app_key property_name: rest.property_name outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/watchers name: repositories-workspace-repo-slug-watchers description: REST surface for repositories-workspace-repo_slug-watchers. operations: - method: GET name: listrepositorieswatchers description: Atlassian List Repositories Watchers call: bitbucket-repositories-repositories.listrepositorieswatchers outputParameters: - type: object mapping: $. - path: /v1/workspaces/{workspace}/permissions/repositories/{repo-slug} name: workspaces-workspace-permissions-repositories-repo-slug description: REST surface for workspaces-workspace-permissions-repositories-repo_slug. operations: - method: GET name: listrepositorypermissionsforworkspace description: Atlassian List Repository Permissions for Workspace call: bitbucket-repositories-repositories.listrepositorypermissionsforworkspace with: q: rest.q sort: rest.sort outputParameters: - type: object mapping: $. - type: mcp namespace: bitbucket-repositories-repositories-mcp port: 9090 transport: http description: MCP adapter for Atlassian Bit Bucket Repositories API — Repositories. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-list-repositories-workspace description: Atlassian List Repositories in Workspace hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.listrepositoriesinworkspace with: role: tools.role q: tools.q sort: tools.sort outputParameters: - type: object mapping: $. - name: atlassian-delete-repository description: Atlassian Delete Repository hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-repositories.deleterepository with: redirect_to: tools.redirect_to outputParameters: - type: object mapping: $. - name: atlassian-get-repository description: Atlassian Get Repository hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.getrepository outputParameters: - type: object mapping: $. - name: atlassian-create-repository description: Atlassian Create Repository hints: readOnly: false destructive: false idempotent: false call: bitbucket-repositories-repositories.createrepository with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-update-repository description: Atlassian Update Repository hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-repositories.updaterepository with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-get-branching-model-repository description: Atlassian Get the Branching Model for Repository hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.getthebranchingmodelforrepository outputParameters: - type: object mapping: $. - name: atlassian-get-branching-model-config description: Atlassian Get the Branching Model Config for Repository hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.getthebranchingmodelconfigforrepository 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-repositories.updatethebranchingmodelconfigforrepository outputParameters: - type: object mapping: $. - name: atlassian-remove-user-default-reviewers description: Atlassian Remove User From the Default Reviewers hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-repositories.removeuserfromthedefaultreviewers outputParameters: - type: object mapping: $. - name: atlassian-list-repository-deploy-keys description: Atlassian List Repository Deploy Keys hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.listrepositorydeploykeys outputParameters: - type: object mapping: $. - name: atlassian-add-repository-deploy-key description: Atlassian Add Repository Deploy Key hints: readOnly: false destructive: false idempotent: false call: bitbucket-repositories-repositories.addrepositorydeploykey outputParameters: - type: object mapping: $. - name: atlassian-delete-repository-deploy-key description: Atlassian Delete Repository Deploy Key hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-repositories.deleterepositorydeploykey outputParameters: - type: object mapping: $. - name: atlassian-get-repository-deploy-key description: Atlassian Get Repository Deploy Key hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.getrepositorydeploykey 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-repositories.updaterepositorydeploykey outputParameters: - type: object mapping: $. - name: atlassian-get-effective-currently-applied description: Atlassian Get the Effective, or Currently Applied, Branching Model for Repository hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.gettheeffectiveorcurrentlyappliedbranchingmodelforrepository outputParameters: - type: object mapping: $. - name: atlassian-list-repository-forks description: Atlassian List Repository Forks hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.listrepositoryforks with: role: tools.role q: tools.q sort: tools.sort outputParameters: - type: object mapping: $. - name: atlassian-fork-repository description: Atlassian Fork Repository hints: readOnly: false destructive: false idempotent: false call: bitbucket-repositories-repositories.forkrepository with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-list-webhooks-repository description: Atlassian List Webhooks for Repository hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.listwebhooksforrepository outputParameters: - type: object mapping: $. - name: atlassian-create-webhook-repository description: Atlassian Create Webhook for Repository hints: readOnly: false destructive: false idempotent: false call: bitbucket-repositories-repositories.createwebhookforrepository outputParameters: - type: object mapping: $. - name: atlassian-delete-webhook-repository description: Atlassian Delete Webhook for Repository hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-repositories.deletewebhookforrepository outputParameters: - type: object mapping: $. - name: atlassian-get-webhook-repository description: Atlassian Get Webhook for Repository hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.getwebhookforrepository 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-repositories.updatewebhookforrepository outputParameters: - type: object mapping: $. - name: atlassian-update-issue description: Atlassian Update an Issue hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-repositories.updateanissue outputParameters: - type: object mapping: $. - name: atlassian-retrieve-inheritance-state-repository description: Atlassian Retrieve the Inheritance State for Repository Settings hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.retrievetheinheritancestateforrepositorysettings outputParameters: - type: object mapping: $. - name: atlassian-set-inheritance-state-repository description: Atlassian Set the Inheritance State for Repository Settings hints: readOnly: false destructive: false idempotent: true call: bitbucket-repositories-repositories.settheinheritancestateforrepositorysettings outputParameters: - type: object mapping: $. - name: atlassian-list-explicit-group-permissions description: Atlassian List Explicit Group Permissions for Repository hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.listexplicitgrouppermissionsforrepository outputParameters: - type: object mapping: $. - name: atlassian-delete-explicit-group-permission description: Atlassian Delete an Explicit Group Permission for Repository hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-repositories.deleteanexplicitgrouppermissionforrepository outputParameters: - type: object mapping: $. - name: atlassian-get-explicit-group-permission description: Atlassian Get an Explicit Group Permission for Repository hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.getanexplicitgrouppermissionforrepository 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-repositories.updateanexplicitgrouppermissionforrepository with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-list-explicit-user-permissions description: Atlassian List Explicit User Permissions for Repository hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.listexplicituserpermissionsforrepository outputParameters: - type: object mapping: $. - name: atlassian-delete-explicit-user-permission description: Atlassian Delete an Explicit User Permission for Repository hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-repositories.deleteanexplicituserpermissionforrepository outputParameters: - type: object mapping: $. - name: atlassian-get-explicit-user-permission description: Atlassian Get an Explicit User Permission for Repository hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.getanexplicituserpermissionforrepository 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-repositories.updateanexplicituserpermissionforrepository with: body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-list-variables-repository description: Atlassian List Variables for Repository hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.listvariablesforrepository with: workspace: tools.workspace repo_slug: tools.repo_slug outputParameters: - type: object mapping: $. - name: atlassian-create-variable-repository description: Atlassian Create Variable for Repository hints: readOnly: false destructive: false idempotent: false call: bitbucket-repositories-repositories.createvariableforrepository with: workspace: tools.workspace repo_slug: tools.repo_slug body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-get-variable-repository description: Atlassian Get Variable for Repository hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.getvariableforrepository with: workspace: tools.workspace repo_slug: tools.repo_slug variable_uuid: tools.variable_uuid 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-repositories.updatevariableforrepository with: workspace: tools.workspace repo_slug: tools.repo_slug variable_uuid: tools.variable_uuid body: tools.body outputParameters: - type: object mapping: $. - name: atlassian-delete-variable-repository description: Atlassian Delete Variable for Repository hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-repositories.deletevariableforrepository with: workspace: tools.workspace repo_slug: tools.repo_slug variable_uuid: tools.variable_uuid 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-repositories.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-delete-repository-application-property description: Atlassian Delete Repository Application Property hints: readOnly: false destructive: true idempotent: true call: bitbucket-repositories-repositories.deleterepositoryapplicationproperty with: workspace: tools.workspace repo_slug: tools.repo_slug app_key: tools.app_key property_name: tools.property_name outputParameters: - type: object mapping: $. - name: atlassian-get-repository-application-property description: Atlassian Get Repository Application Property hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.getrepositoryapplicationproperty with: workspace: tools.workspace repo_slug: tools.repo_slug app_key: tools.app_key property_name: tools.property_name outputParameters: - type: object mapping: $. - name: atlassian-list-repositories-watchers description: Atlassian List Repositories Watchers hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.listrepositorieswatchers outputParameters: - type: object mapping: $. - name: atlassian-list-repository-permissions-workspace description: Atlassian List Repository Permissions for Workspace hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-repositories.listrepositorypermissionsforworkspace with: q: tools.q sort: tools.sort outputParameters: - type: object mapping: $.