naftiko: 1.0.0-alpha2 info: label: Atlassian Bit Bucket Repositories API — Get description: 'Atlassian Bit Bucket Repositories API — Get. 53 operations. Lead operation: Atlassian Get Repository. Self-contained Naftiko capability covering one Atlassian business surface.' tags: - Atlassian - Get 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-get baseUri: https://api.bitbucket.org/2.0 description: Atlassian Bit Bucket Repositories API — Get business capability. Self-contained, no shared references. resources: - name: repositories-workspace-repo_slug path: /repositories/{workspace}/{repo_slug} operations: - name: getrepository method: GET description: Atlassian Get Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-branch-restrictions-id path: /repositories/{workspace}/{repo_slug}/branch-restrictions/{id} operations: - name: getbranchrestrictionrule method: GET description: Atlassian Get Branch Restriction Rule outputRawFormat: json outputParameters: - name: result type: object value: $. - 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: repositories-workspace-repo_slug-commit-commit path: /repositories/{workspace}/{repo_slug}/commit/{commit} operations: - name: getcommit method: GET description: Atlassian Get Commit 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: getcommitcomment method: GET description: Atlassian Get Commit Comment outputRawFormat: json outputParameters: - name: result type: object value: $. - 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: getcommitapplicationproperty method: GET description: Atlassian Get 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: repositories-workspace-repo_slug-commit-commit-reports-reportId path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId} operations: - name: getreport method: GET description: Atlassian Get Report outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: commit in: path type: string description: The commit the report belongs to. required: true - name: reportId in: path type: string description: Either the uuid or external-id of the report. required: true - name: repositories-workspace-repo_slug-commit-commit-reports-reportId-annotations-anno path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations/{annotationId} operations: - name: getanannotation method: GET description: Atlassian Get an Annotation outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: commit in: path type: string description: The commit the report belongs to. required: true - name: reportId in: path type: string description: Either the uuid or external-id of the report. required: true - name: annotationId in: path type: string description: Either the uuid or external-id of the annotation. required: true - name: repositories-workspace-repo_slug-commit-commit-statuses-build-key path: /repositories/{workspace}/{repo_slug}/commit/{commit}/statuses/build/{key} operations: - name: getbuildstatusforcommit method: GET description: Atlassian Get Build Status for Commit outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-components-component_id path: /repositories/{workspace}/{repo_slug}/components/{component_id} operations: - name: getcomponentforissues method: GET description: Atlassian Get Component for Issues 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: getdefaultreviewer method: GET description: Atlassian Get Default Reviewer 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: getrepositorydeploykey method: GET description: Atlassian Get Repository Deploy Key outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-deployments-deployment_uuid path: /repositories/{workspace}/{repo_slug}/deployments/{deployment_uuid} operations: - name: getdeployment method: GET description: Atlassian Get Deployment outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example `{workspace UUID}`. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: deployment_uuid in: path type: string description: The deployment UUID. required: true - name: repositories-workspace-repo_slug-downloads-filename path: /repositories/{workspace}/{repo_slug}/downloads/{filename} operations: - name: getdownloadartifactlink method: GET description: Atlassian Get Download Artifact Link 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-environments-environment_uuid path: /repositories/{workspace}/{repo_slug}/environments/{environment_uuid} operations: - name: getanenvironment 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: repositories-workspace-repo_slug-hooks-uid path: /repositories/{workspace}/{repo_slug}/hooks/{uid} operations: - name: getwebhookforrepository method: GET description: Atlassian Get 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: getanissue method: GET description: Atlassian Get an Issue outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-issues-issue_id-attachments-path path: /repositories/{workspace}/{repo_slug}/issues/{issue_id}/attachments/{path} operations: - name: getattachmentforanissue method: GET description: Atlassian Get Attachment for an Issue outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-issues-issue_id-changes-change_id path: /repositories/{workspace}/{repo_slug}/issues/{issue_id}/changes/{change_id} operations: - name: getissuechangeobject method: GET description: Atlassian Get Issue Change Object 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: getcommentonanissue method: GET description: Atlassian Get Comment on an Issue outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-merge-base-revspec path: /repositories/{workspace}/{repo_slug}/merge-base/{revspec} operations: - name: getthecommonancestorbetweentwocommits method: GET description: Atlassian Get the Common Ancestor Between Two Commits outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-milestones-milestone_id path: /repositories/{workspace}/{repo_slug}/milestones/{milestone_id} operations: - name: getmilestone method: GET description: Atlassian Get Milestone outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-patch-spec path: /repositories/{workspace}/{repo_slug}/patch/{spec} operations: - name: getpatchfortwocommits method: GET description: Atlassian Get Patch for Two Commits 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: getanexplicitgrouppermissionforrepository method: GET description: Atlassian Get an Explicit Group Permission 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: getanexplicituserpermissionforrepository method: GET description: Atlassian Get an Explicit User Permission for Repository outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-pipelines-config-caches-cache_uuid-content-uri path: /repositories/{workspace}/{repo_slug}/pipelines-config/caches/{cache_uuid}/content-uri operations: - name: getcachecontenturi method: GET description: Atlassian Get Cache Content Uri outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: The account. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: cache_uuid in: path type: string description: The UUID of the cache. required: true - name: repositories-workspace-repo_slug-pipelines-pipeline_uuid path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid} operations: - name: getpipeline method: GET description: Atlassian Get Pipeline 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: pipeline_uuid in: path type: string description: The pipeline UUID. required: true - name: repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid} operations: - name: getstepofpipeline method: GET description: Atlassian Get Step of Pipeline 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: pipeline_uuid in: path type: string description: The UUID of the pipeline. required: true - name: step_uuid in: path type: string description: The UUID of the step. required: true - name: repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-log path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/log operations: - name: getlogfileforstep method: GET description: Atlassian Get Log File for Step 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: pipeline_uuid in: path type: string description: The UUID of the pipeline. required: true - name: step_uuid in: path type: string description: The UUID of the step. required: true - name: repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-logs-lo path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/logs/{log_uuid} operations: - name: getthelogsforthebuildcontainerorservicecontainerforgivenstepofpipeline method: GET description: Atlassian Get the Logs for the Build Container or Service Container for Given Step of Pipeline. 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: pipeline_uuid in: path type: string description: The UUID of the pipeline. required: true - name: step_uuid in: path type: string description: The UUID of the step. required: true - name: log_uuid in: path type: string description: For the main build container specify the step UUID; for a service container specify the service container UUID required: true - name: repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-test_re path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports operations: - name: getsummaryoftestreportsforgivenstepofpipeline method: GET description: Atlassian Get Summary of Test Reports for Given Step of Pipeline. 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: pipeline_uuid in: path type: string description: The UUID of the pipeline. required: true - name: step_uuid in: path type: string description: The UUID of the step. required: true - name: repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-test_re path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports/test_cases operations: - name: gettestcasesforgivenstepofpipeline method: GET description: Atlassian Get Test Cases for Given Step of Pipeline. 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: pipeline_uuid in: path type: string description: The UUID of the pipeline. required: true - name: step_uuid in: path type: string description: The UUID of the step. required: true - name: repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-test_re path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps/{step_uuid}/test_reports/test_cases/{test_case_uuid}/test_case_reasons operations: - name: gettestcasereasonsoutputforgiventestcaseinstepofpipeline method: GET description: Atlassian Get Test Case Reasons (output) for Given Test Case in Step of Pipeline. 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: pipeline_uuid in: path type: string description: The UUID of the pipeline. required: true - name: step_uuid in: path type: string description: The UUID of the step. required: true - name: test_case_uuid in: path type: string description: The UUID of the test case. required: true - name: repositories-workspace-repo_slug-pipelines_config path: /repositories/{workspace}/{repo_slug}/pipelines_config operations: - name: getconfiguration method: GET description: Atlassian Get Configuration outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: workspace in: path type: string description: The account. required: true - name: repo_slug in: path type: string description: The repository. required: true - name: repositories-workspace-repo_slug-pipelines_config-schedules-schedule_uuid path: /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid} operations: - name: getschedule method: GET description: Atlassian Get 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: repositories-workspace-repo_slug-pipelines_config-ssh-key_pair path: /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/key_pair operations: - name: getsshkeypair method: GET description: Atlassian Get 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: 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: getknownhost method: GET description: Atlassian Get 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 retrieve. 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: repositories-workspace-repo_slug-properties-app_key-property_name path: /repositories/{workspace}/{repo_slug}/properties/{app_key}/{property_name} operations: - 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-pullrequests-pull_request_id path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id} operations: - name: getpullrequest method: GET description: Atlassian Get Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. - 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: getcommentonpullrequest method: GET description: Atlassian Get Comment on Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-diffstat path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diffstat operations: - name: getthediffstatforpullrequest method: GET description: Atlassian Get the Diff Stat for Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-merge-task-status- path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/merge/task-status/{task_id} operations: - name: getthemergetaskstatusforpullrequest method: GET description: Atlassian Get the Merge Task Status for Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-patch path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/patch operations: - name: getthepatchforpullrequest method: GET description: Atlassian Get the Patch for Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. - 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: gettaskonpullrequest method: GET description: Atlassian Get Task on Pull Request outputRawFormat: json outputParameters: - name: result type: object value: $. - 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: getpullrequestapplicationproperty method: GET description: Atlassian Get 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: repositories-workspace-repo_slug-refs-branches-name path: /repositories/{workspace}/{repo_slug}/refs/branches/{name} operations: - name: getbranch method: GET description: Atlassian Get Branch outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-refs-tags-name path: /repositories/{workspace}/{repo_slug}/refs/tags/{name} operations: - name: gettag method: GET description: Atlassian Get Tag outputRawFormat: json outputParameters: - name: result type: object value: $. - name: repositories-workspace-repo_slug-src path: /repositories/{workspace}/{repo_slug}/src operations: - name: gettherootdirectoryofthemainbranch method: GET description: Atlassian Get the Root Directory of the Main Branch outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: format in: query type: string description: Instead of returning the file's contents, return the (json) meta data for it. - name: repositories-workspace-repo_slug-src-commit-path path: /repositories/{workspace}/{repo_slug}/src/{commit}/{path} operations: - name: getfileordirectorycontents method: GET description: Atlassian Get File or Directory Contents outputRawFormat: json outputParameters: - name: result type: object value: $. inputParameters: - name: format in: query type: string description: If 'meta' is provided, returns the (json) meta data for the contents of the file. If 'rendered' is provided, returns the contents of a non-binary file in HTML- - name: q in: query type: string description: Optional filter expression as per [filtering and sorting](/cloud/bitbucket/rest/intro/#filtering). - name: sort in: query type: string description: Optional sorting parameter as per [filtering and sorting](/cloud/bitbucket/rest/intro/#sorting-query-results). - name: max_depth in: query type: integer description: If provided, returns the contents of the repository and its subdirectories recursively until the specified max_depth of nested directories. When omitted, this d - name: repositories-workspace-repo_slug-versions-version_id path: /repositories/{workspace}/{repo_slug}/versions/{version_id} operations: - name: getdefinedversionforissues method: GET description: Atlassian Get Defined Version for Issues outputRawFormat: json outputParameters: - name: result type: object value: $. authentication: type: bearer token: '{{env.ATLASSIAN_API_KEY}}' exposes: - type: rest namespace: bitbucket-repositories-get-rest port: 8080 description: REST adapter for Atlassian Bit Bucket Repositories API — Get. 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: GET name: getrepository description: Atlassian Get Repository call: bitbucket-repositories-get.getrepository 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: GET name: getbranchrestrictionrule description: Atlassian Get Branch Restriction Rule call: bitbucket-repositories-get.getbranchrestrictionrule 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-get.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-get.getthebranchingmodelconfigforrepository outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/commit/{commit} name: repositories-workspace-repo-slug-commit-commit description: REST surface for repositories-workspace-repo_slug-commit-commit. operations: - method: GET name: getcommit description: Atlassian Get Commit call: bitbucket-repositories-get.getcommit 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: GET name: getcommitcomment description: Atlassian Get Commit Comment call: bitbucket-repositories-get.getcommitcomment 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: GET name: getcommitapplicationproperty description: Atlassian Get Commit Application Property call: bitbucket-repositories-get.getcommitapplicationproperty with: workspace: rest.workspace repo_slug: rest.repo_slug commit: rest.commit app_key: rest.app_key property_name: rest.property_name 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: GET name: getreport description: Atlassian Get Report call: bitbucket-repositories-get.getreport with: workspace: rest.workspace repo_slug: rest.repo_slug commit: rest.commit reportId: rest.reportId outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports/{reportid}/annotations/{annotationid} name: repositories-workspace-repo-slug-commit-commit-reports-reportid-annotations-anno description: REST surface for repositories-workspace-repo_slug-commit-commit-reports-reportId-annotations-anno. operations: - method: GET name: getanannotation description: Atlassian Get an Annotation call: bitbucket-repositories-get.getanannotation with: workspace: rest.workspace repo_slug: rest.repo_slug commit: rest.commit reportId: rest.reportId annotationId: rest.annotationId 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: GET name: getbuildstatusforcommit description: Atlassian Get Build Status for Commit call: bitbucket-repositories-get.getbuildstatusforcommit outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/components/{component-id} name: repositories-workspace-repo-slug-components-component-id description: REST surface for repositories-workspace-repo_slug-components-component_id. operations: - method: GET name: getcomponentforissues description: Atlassian Get Component for Issues call: bitbucket-repositories-get.getcomponentforissues 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: GET name: getdefaultreviewer description: Atlassian Get Default Reviewer call: bitbucket-repositories-get.getdefaultreviewer 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: GET name: getrepositorydeploykey description: Atlassian Get Repository Deploy Key call: bitbucket-repositories-get.getrepositorydeploykey outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/deployments/{deployment-uuid} name: repositories-workspace-repo-slug-deployments-deployment-uuid description: REST surface for repositories-workspace-repo_slug-deployments-deployment_uuid. operations: - method: GET name: getdeployment description: Atlassian Get Deployment call: bitbucket-repositories-get.getdeployment with: workspace: rest.workspace repo_slug: rest.repo_slug deployment_uuid: rest.deployment_uuid outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/downloads/{filename} name: repositories-workspace-repo-slug-downloads-filename description: REST surface for repositories-workspace-repo_slug-downloads-filename. operations: - method: GET name: getdownloadartifactlink description: Atlassian Get Download Artifact Link call: bitbucket-repositories-get.getdownloadartifactlink 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-get.gettheeffectiveorcurrentlyappliedbranchingmodelforrepository 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: getanenvironment description: Atlassian Get an Environment call: bitbucket-repositories-get.getanenvironment 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: GET name: getwebhookforrepository description: Atlassian Get Webhook for Repository call: bitbucket-repositories-get.getwebhookforrepository 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: GET name: getanissue description: Atlassian Get an Issue call: bitbucket-repositories-get.getanissue outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/issues/{issue-id}/attachments/{path} name: repositories-workspace-repo-slug-issues-issue-id-attachments-path description: REST surface for repositories-workspace-repo_slug-issues-issue_id-attachments-path. operations: - method: GET name: getattachmentforanissue description: Atlassian Get Attachment for an Issue call: bitbucket-repositories-get.getattachmentforanissue outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/issues/{issue-id}/changes/{change-id} name: repositories-workspace-repo-slug-issues-issue-id-changes-change-id description: REST surface for repositories-workspace-repo_slug-issues-issue_id-changes-change_id. operations: - method: GET name: getissuechangeobject description: Atlassian Get Issue Change Object call: bitbucket-repositories-get.getissuechangeobject 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: GET name: getcommentonanissue description: Atlassian Get Comment on an Issue call: bitbucket-repositories-get.getcommentonanissue outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/merge-base/{revspec} name: repositories-workspace-repo-slug-merge-base-revspec description: REST surface for repositories-workspace-repo_slug-merge-base-revspec. operations: - method: GET name: getthecommonancestorbetweentwocommits description: Atlassian Get the Common Ancestor Between Two Commits call: bitbucket-repositories-get.getthecommonancestorbetweentwocommits outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/milestones/{milestone-id} name: repositories-workspace-repo-slug-milestones-milestone-id description: REST surface for repositories-workspace-repo_slug-milestones-milestone_id. operations: - method: GET name: getmilestone description: Atlassian Get Milestone call: bitbucket-repositories-get.getmilestone outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/patch/{spec} name: repositories-workspace-repo-slug-patch-spec description: REST surface for repositories-workspace-repo_slug-patch-spec. operations: - method: GET name: getpatchfortwocommits description: Atlassian Get Patch for Two Commits call: bitbucket-repositories-get.getpatchfortwocommits 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: GET name: getanexplicitgrouppermissionforrepository description: Atlassian Get an Explicit Group Permission for Repository call: bitbucket-repositories-get.getanexplicitgrouppermissionforrepository 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: GET name: getanexplicituserpermissionforrepository description: Atlassian Get an Explicit User Permission for Repository call: bitbucket-repositories-get.getanexplicituserpermissionforrepository outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines-config/caches/{cache-uuid}/content-uri name: repositories-workspace-repo-slug-pipelines-config-caches-cache-uuid-content-uri description: REST surface for repositories-workspace-repo_slug-pipelines-config-caches-cache_uuid-content-uri. operations: - method: GET name: getcachecontenturi description: Atlassian Get Cache Content Uri call: bitbucket-repositories-get.getcachecontenturi with: workspace: rest.workspace repo_slug: rest.repo_slug cache_uuid: rest.cache_uuid outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid} name: repositories-workspace-repo-slug-pipelines-pipeline-uuid description: REST surface for repositories-workspace-repo_slug-pipelines-pipeline_uuid. operations: - method: GET name: getpipeline description: Atlassian Get Pipeline call: bitbucket-repositories-get.getpipeline with: workspace: rest.workspace repo_slug: rest.repo_slug pipeline_uuid: rest.pipeline_uuid outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid} name: repositories-workspace-repo-slug-pipelines-pipeline-uuid-steps-step-uuid description: REST surface for repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid. operations: - method: GET name: getstepofpipeline description: Atlassian Get Step of Pipeline call: bitbucket-repositories-get.getstepofpipeline with: workspace: rest.workspace repo_slug: rest.repo_slug pipeline_uuid: rest.pipeline_uuid step_uuid: rest.step_uuid outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/log name: repositories-workspace-repo-slug-pipelines-pipeline-uuid-steps-step-uuid-log description: REST surface for repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-log. operations: - method: GET name: getlogfileforstep description: Atlassian Get Log File for Step call: bitbucket-repositories-get.getlogfileforstep with: workspace: rest.workspace repo_slug: rest.repo_slug pipeline_uuid: rest.pipeline_uuid step_uuid: rest.step_uuid outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/logs/{log-uuid} name: repositories-workspace-repo-slug-pipelines-pipeline-uuid-steps-step-uuid-logs-lo description: REST surface for repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-logs-lo. operations: - method: GET name: getthelogsforthebuildcontainerorservicecontainerforgivenstepofpipeline description: Atlassian Get the Logs for the Build Container or Service Container for Given Step of Pipeline. call: bitbucket-repositories-get.getthelogsforthebuildcontainerorservicecontainerforgivenstepofpipeline with: workspace: rest.workspace repo_slug: rest.repo_slug pipeline_uuid: rest.pipeline_uuid step_uuid: rest.step_uuid log_uuid: rest.log_uuid outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/test-reports name: repositories-workspace-repo-slug-pipelines-pipeline-uuid-steps-step-uuid-test-re description: REST surface for repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-test_re. operations: - method: GET name: getsummaryoftestreportsforgivenstepofpipeline description: Atlassian Get Summary of Test Reports for Given Step of Pipeline. call: bitbucket-repositories-get.getsummaryoftestreportsforgivenstepofpipeline with: workspace: rest.workspace repo_slug: rest.repo_slug pipeline_uuid: rest.pipeline_uuid step_uuid: rest.step_uuid outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/test-reports/test-cases name: repositories-workspace-repo-slug-pipelines-pipeline-uuid-steps-step-uuid-test-re description: REST surface for repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-test_re. operations: - method: GET name: gettestcasesforgivenstepofpipeline description: Atlassian Get Test Cases for Given Step of Pipeline. call: bitbucket-repositories-get.gettestcasesforgivenstepofpipeline with: workspace: rest.workspace repo_slug: rest.repo_slug pipeline_uuid: rest.pipeline_uuid step_uuid: rest.step_uuid outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps/{step-uuid}/test-reports/test-cases/{test-case-uuid}/test-case-reasons name: repositories-workspace-repo-slug-pipelines-pipeline-uuid-steps-step-uuid-test-re description: REST surface for repositories-workspace-repo_slug-pipelines-pipeline_uuid-steps-step_uuid-test_re. operations: - method: GET name: gettestcasereasonsoutputforgiventestcaseinstepofpipeline description: Atlassian Get Test Case Reasons (output) for Given Test Case in Step of Pipeline. call: bitbucket-repositories-get.gettestcasereasonsoutputforgiventestcaseinstepofpipeline with: workspace: rest.workspace repo_slug: rest.repo_slug pipeline_uuid: rest.pipeline_uuid step_uuid: rest.step_uuid test_case_uuid: rest.test_case_uuid 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: GET name: getconfiguration description: Atlassian Get Configuration call: bitbucket-repositories-get.getconfiguration with: workspace: rest.workspace repo_slug: rest.repo_slug 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: GET name: getschedule description: Atlassian Get Schedule call: bitbucket-repositories-get.getschedule with: workspace: rest.workspace repo_slug: rest.repo_slug schedule_uuid: rest.schedule_uuid 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: GET name: getsshkeypair description: Atlassian Get Ssh Key Pair call: bitbucket-repositories-get.getsshkeypair with: workspace: rest.workspace repo_slug: rest.repo_slug 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: GET name: getknownhost description: Atlassian Get Known Host call: bitbucket-repositories-get.getknownhost with: workspace: rest.workspace repo_slug: rest.repo_slug known_host_uuid: rest.known_host_uuid 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-get.getvariableforrepository 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: GET name: getrepositoryapplicationproperty description: Atlassian Get Repository Application Property call: bitbucket-repositories-get.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}/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: GET name: getpullrequest description: Atlassian Get Pull Request call: bitbucket-repositories-get.getpullrequest 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: GET name: getcommentonpullrequest description: Atlassian Get Comment on Pull Request call: bitbucket-repositories-get.getcommentonpullrequest outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/diffstat name: repositories-workspace-repo-slug-pullrequests-pull-request-id-diffstat description: REST surface for repositories-workspace-repo_slug-pullrequests-pull_request_id-diffstat. operations: - method: GET name: getthediffstatforpullrequest description: Atlassian Get the Diff Stat for Pull Request call: bitbucket-repositories-get.getthediffstatforpullrequest outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/merge/task-status/{task-id} name: repositories-workspace-repo-slug-pullrequests-pull-request-id-merge-task-status description: REST surface for repositories-workspace-repo_slug-pullrequests-pull_request_id-merge-task-status-. operations: - method: GET name: getthemergetaskstatusforpullrequest description: Atlassian Get the Merge Task Status for Pull Request call: bitbucket-repositories-get.getthemergetaskstatusforpullrequest outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/patch name: repositories-workspace-repo-slug-pullrequests-pull-request-id-patch description: REST surface for repositories-workspace-repo_slug-pullrequests-pull_request_id-patch. operations: - method: GET name: getthepatchforpullrequest description: Atlassian Get the Patch for Pull Request call: bitbucket-repositories-get.getthepatchforpullrequest 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: GET name: gettaskonpullrequest description: Atlassian Get Task on Pull Request call: bitbucket-repositories-get.gettaskonpullrequest 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: GET name: getpullrequestapplicationproperty description: Atlassian Get Pull Request Application Property call: bitbucket-repositories-get.getpullrequestapplicationproperty with: workspace: rest.workspace repo_slug: rest.repo_slug pullrequest_id: rest.pullrequest_id app_key: rest.app_key property_name: rest.property_name outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/refs/branches/{name} name: repositories-workspace-repo-slug-refs-branches-name description: REST surface for repositories-workspace-repo_slug-refs-branches-name. operations: - method: GET name: getbranch description: Atlassian Get Branch call: bitbucket-repositories-get.getbranch outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/refs/tags/{name} name: repositories-workspace-repo-slug-refs-tags-name description: REST surface for repositories-workspace-repo_slug-refs-tags-name. operations: - method: GET name: gettag description: Atlassian Get Tag call: bitbucket-repositories-get.gettag outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/src name: repositories-workspace-repo-slug-src description: REST surface for repositories-workspace-repo_slug-src. operations: - method: GET name: gettherootdirectoryofthemainbranch description: Atlassian Get the Root Directory of the Main Branch call: bitbucket-repositories-get.gettherootdirectoryofthemainbranch with: format: rest.format outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/src/{commit}/{path} name: repositories-workspace-repo-slug-src-commit-path description: REST surface for repositories-workspace-repo_slug-src-commit-path. operations: - method: GET name: getfileordirectorycontents description: Atlassian Get File or Directory Contents call: bitbucket-repositories-get.getfileordirectorycontents with: format: rest.format q: rest.q sort: rest.sort max_depth: rest.max_depth outputParameters: - type: object mapping: $. - path: /v1/repositories/{workspace}/{repo-slug}/versions/{version-id} name: repositories-workspace-repo-slug-versions-version-id description: REST surface for repositories-workspace-repo_slug-versions-version_id. operations: - method: GET name: getdefinedversionforissues description: Atlassian Get Defined Version for Issues call: bitbucket-repositories-get.getdefinedversionforissues outputParameters: - type: object mapping: $. - type: mcp namespace: bitbucket-repositories-get-mcp port: 9090 transport: http description: MCP adapter for Atlassian Bit Bucket Repositories API — Get. One tool per consumed operation, routed inline through this capability's consumes block. tools: - name: atlassian-get-repository description: Atlassian Get Repository hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getrepository outputParameters: - type: object mapping: $. - name: atlassian-get-branch-restriction-rule description: Atlassian Get Branch Restriction Rule hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getbranchrestrictionrule 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-get.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-get.getthebranchingmodelconfigforrepository outputParameters: - type: object mapping: $. - name: atlassian-get-commit description: Atlassian Get Commit hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getcommit outputParameters: - type: object mapping: $. - name: atlassian-get-commit-comment description: Atlassian Get Commit Comment hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getcommitcomment outputParameters: - type: object mapping: $. - name: atlassian-get-commit-application-property description: Atlassian Get Commit Application Property hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getcommitapplicationproperty with: workspace: tools.workspace repo_slug: tools.repo_slug commit: tools.commit app_key: tools.app_key property_name: tools.property_name outputParameters: - type: object mapping: $. - name: atlassian-get-report description: Atlassian Get Report hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getreport with: workspace: tools.workspace repo_slug: tools.repo_slug commit: tools.commit reportId: tools.reportId outputParameters: - type: object mapping: $. - name: atlassian-get-annotation description: Atlassian Get an Annotation hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getanannotation with: workspace: tools.workspace repo_slug: tools.repo_slug commit: tools.commit reportId: tools.reportId annotationId: tools.annotationId outputParameters: - type: object mapping: $. - name: atlassian-get-build-status-commit description: Atlassian Get Build Status for Commit hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getbuildstatusforcommit outputParameters: - type: object mapping: $. - name: atlassian-get-component-issues description: Atlassian Get Component for Issues hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getcomponentforissues outputParameters: - type: object mapping: $. - name: atlassian-get-default-reviewer description: Atlassian Get Default Reviewer hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getdefaultreviewer 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-get.getrepositorydeploykey outputParameters: - type: object mapping: $. - name: atlassian-get-deployment description: Atlassian Get Deployment hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getdeployment with: workspace: tools.workspace repo_slug: tools.repo_slug deployment_uuid: tools.deployment_uuid outputParameters: - type: object mapping: $. - name: atlassian-get-download-artifact-link description: Atlassian Get Download Artifact Link hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getdownloadartifactlink 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-get.gettheeffectiveorcurrentlyappliedbranchingmodelforrepository outputParameters: - type: object mapping: $. - name: atlassian-get-environment description: Atlassian Get an Environment hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getanenvironment with: workspace: tools.workspace repo_slug: tools.repo_slug environment_uuid: tools.environment_uuid 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-get.getwebhookforrepository outputParameters: - type: object mapping: $. - name: atlassian-get-issue description: Atlassian Get an Issue hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getanissue outputParameters: - type: object mapping: $. - name: atlassian-get-attachment-issue description: Atlassian Get Attachment for an Issue hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getattachmentforanissue outputParameters: - type: object mapping: $. - name: atlassian-get-issue-change-object description: Atlassian Get Issue Change Object hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getissuechangeobject outputParameters: - type: object mapping: $. - name: atlassian-get-comment-issue description: Atlassian Get Comment on an Issue hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getcommentonanissue outputParameters: - type: object mapping: $. - name: atlassian-get-common-ancestor-between description: Atlassian Get the Common Ancestor Between Two Commits hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getthecommonancestorbetweentwocommits outputParameters: - type: object mapping: $. - name: atlassian-get-milestone description: Atlassian Get Milestone hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getmilestone outputParameters: - type: object mapping: $. - name: atlassian-get-patch-two-commits description: Atlassian Get Patch for Two Commits hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getpatchfortwocommits 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-get.getanexplicitgrouppermissionforrepository 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-get.getanexplicituserpermissionforrepository outputParameters: - type: object mapping: $. - name: atlassian-get-cache-content-uri description: Atlassian Get Cache Content Uri hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getcachecontenturi with: workspace: tools.workspace repo_slug: tools.repo_slug cache_uuid: tools.cache_uuid outputParameters: - type: object mapping: $. - name: atlassian-get-pipeline description: Atlassian Get Pipeline hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getpipeline with: workspace: tools.workspace repo_slug: tools.repo_slug pipeline_uuid: tools.pipeline_uuid outputParameters: - type: object mapping: $. - name: atlassian-get-step-pipeline description: Atlassian Get Step of Pipeline hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getstepofpipeline with: workspace: tools.workspace repo_slug: tools.repo_slug pipeline_uuid: tools.pipeline_uuid step_uuid: tools.step_uuid outputParameters: - type: object mapping: $. - name: atlassian-get-log-file-step description: Atlassian Get Log File for Step hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getlogfileforstep with: workspace: tools.workspace repo_slug: tools.repo_slug pipeline_uuid: tools.pipeline_uuid step_uuid: tools.step_uuid outputParameters: - type: object mapping: $. - name: atlassian-get-logs-build-container description: Atlassian Get the Logs for the Build Container or Service Container for Given Step of Pipeline. hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getthelogsforthebuildcontainerorservicecontainerforgivenstepofpipeline with: workspace: tools.workspace repo_slug: tools.repo_slug pipeline_uuid: tools.pipeline_uuid step_uuid: tools.step_uuid log_uuid: tools.log_uuid outputParameters: - type: object mapping: $. - name: atlassian-get-summary-test-reports description: Atlassian Get Summary of Test Reports for Given Step of Pipeline. hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getsummaryoftestreportsforgivenstepofpipeline with: workspace: tools.workspace repo_slug: tools.repo_slug pipeline_uuid: tools.pipeline_uuid step_uuid: tools.step_uuid outputParameters: - type: object mapping: $. - name: atlassian-get-test-cases-given description: Atlassian Get Test Cases for Given Step of Pipeline. hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.gettestcasesforgivenstepofpipeline with: workspace: tools.workspace repo_slug: tools.repo_slug pipeline_uuid: tools.pipeline_uuid step_uuid: tools.step_uuid outputParameters: - type: object mapping: $. - name: atlassian-get-test-case-reasons description: Atlassian Get Test Case Reasons (output) for Given Test Case in Step of Pipeline. hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.gettestcasereasonsoutputforgiventestcaseinstepofpipeline with: workspace: tools.workspace repo_slug: tools.repo_slug pipeline_uuid: tools.pipeline_uuid step_uuid: tools.step_uuid test_case_uuid: tools.test_case_uuid outputParameters: - type: object mapping: $. - name: atlassian-get-configuration description: Atlassian Get Configuration hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getconfiguration with: workspace: tools.workspace repo_slug: tools.repo_slug outputParameters: - type: object mapping: $. - name: atlassian-get-schedule description: Atlassian Get Schedule hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getschedule with: workspace: tools.workspace repo_slug: tools.repo_slug schedule_uuid: tools.schedule_uuid outputParameters: - type: object mapping: $. - name: atlassian-get-ssh-key-pair description: Atlassian Get Ssh Key Pair hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getsshkeypair with: workspace: tools.workspace repo_slug: tools.repo_slug outputParameters: - type: object mapping: $. - name: atlassian-get-known-host description: Atlassian Get Known Host hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getknownhost with: workspace: tools.workspace repo_slug: tools.repo_slug known_host_uuid: tools.known_host_uuid 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-get.getvariableforrepository with: workspace: tools.workspace repo_slug: tools.repo_slug variable_uuid: tools.variable_uuid 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-get.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-get-pull-request description: Atlassian Get Pull Request hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getpullrequest outputParameters: - type: object mapping: $. - name: atlassian-get-comment-pull-request description: Atlassian Get Comment on Pull Request hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getcommentonpullrequest outputParameters: - type: object mapping: $. - name: atlassian-get-diff-stat-pull description: Atlassian Get the Diff Stat for Pull Request hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getthediffstatforpullrequest outputParameters: - type: object mapping: $. - name: atlassian-get-merge-task-status description: Atlassian Get the Merge Task Status for Pull Request hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getthemergetaskstatusforpullrequest outputParameters: - type: object mapping: $. - name: atlassian-get-patch-pull-request description: Atlassian Get the Patch for Pull Request hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getthepatchforpullrequest outputParameters: - type: object mapping: $. - name: atlassian-get-task-pull-request description: Atlassian Get Task on Pull Request hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.gettaskonpullrequest outputParameters: - type: object mapping: $. - name: atlassian-get-pull-request-application description: Atlassian Get Pull Request Application Property hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getpullrequestapplicationproperty with: workspace: tools.workspace repo_slug: tools.repo_slug pullrequest_id: tools.pullrequest_id app_key: tools.app_key property_name: tools.property_name outputParameters: - type: object mapping: $. - name: atlassian-get-branch description: Atlassian Get Branch hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getbranch outputParameters: - type: object mapping: $. - name: atlassian-get-tag description: Atlassian Get Tag hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.gettag outputParameters: - type: object mapping: $. - name: atlassian-get-root-directory-main description: Atlassian Get the Root Directory of the Main Branch hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.gettherootdirectoryofthemainbranch with: format: tools.format outputParameters: - type: object mapping: $. - name: atlassian-get-file-directory-contents description: Atlassian Get File or Directory Contents hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getfileordirectorycontents with: format: tools.format q: tools.q sort: tools.sort max_depth: tools.max_depth outputParameters: - type: object mapping: $. - name: atlassian-get-defined-version-issues description: Atlassian Get Defined Version for Issues hints: readOnly: true destructive: false idempotent: true call: bitbucket-repositories-get.getdefinedversionforissues outputParameters: - type: object mapping: $.