Atlassian · Capability

Atlassian Bit Bucket Repositories API — Lists

Atlassian Bit Bucket Repositories API — Lists. 50 operations. Lead operation: Atlassian List Repositories in Workspace. Self-contained Naftiko capability covering one Atlassian business surface.

Run with Naftiko AtlassianLists

What You Can Do

GET
Listrepositoriesinworkspace — Atlassian List Repositories in Workspace
/v1/repositories/{workspace}
GET
Listbranchrestrictions — Atlassian List Branch Restrictions
/v1/repositories/{workspace}/{repo-slug}/branch-restrictions
GET
Listcommitscomments — Atlassian List Commits Comments
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/comments
GET
Listpullrequeststhatcontaincommit — Atlassian List Pull Requests That Contain Commit
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/pullrequests
GET
Listreports — Atlassian List Reports
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports
GET
Listannotations — Atlassian List Annotations
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/reports/{reportid}/annotations
GET
Listcommitstatusesforcommit — Atlassian List Commit Statuses for Commit
/v1/repositories/{workspace}/{repo-slug}/commit/{commit}/statuses
GET
Listcommits — Atlassian List Commits
/v1/repositories/{workspace}/{repo-slug}/commits
POST
Listcommitswithincludeexclude — Atlassian List Commits With Include/exclude
/v1/repositories/{workspace}/{repo-slug}/commits
GET
Listcommitsforrevision — Atlassian List Commits for Revision
/v1/repositories/{workspace}/{repo-slug}/commits/{revision}
POST
Listcommitsforrevisionusingincludeexclude — Atlassian List Commits for Revision Using Include/exclude
/v1/repositories/{workspace}/{repo-slug}/commits/{revision}
GET
Listcomponents — Atlassian List Components
/v1/repositories/{workspace}/{repo-slug}/components
GET
Listdefaultreviewers — Atlassian List Default Reviewers
/v1/repositories/{workspace}/{repo-slug}/default-reviewers
GET
Listrepositorydeploykeys — Atlassian List Repository Deploy Keys
/v1/repositories/{workspace}/{repo-slug}/deploy-keys
GET
Listdeployments — Atlassian List Deployments
/v1/repositories/{workspace}/{repo-slug}/deployments
GET
Listvariablesforanenvironment — Atlassian List Variables for an Environment
/v1/repositories/{workspace}/{repo-slug}/deployments-config/environments/{environment-uuid}/variables
GET
Listdownloadartifacts — Atlassian List Download Artifacts
/v1/repositories/{workspace}/{repo-slug}/downloads
GET
Listeffectivedefaultreviewers — Atlassian List Effective Default Reviewers
/v1/repositories/{workspace}/{repo-slug}/effective-default-reviewers
GET
Listenvironments — Atlassian List Environments
/v1/repositories/{workspace}/{repo-slug}/environments
GET
Listcommitsthatmodifiedfile — Atlassian List Commits That Modified File
/v1/repositories/{workspace}/{repo-slug}/filehistory/{commit}/{path}
GET
Listrepositoryforks — Atlassian List Repository Forks
/v1/repositories/{workspace}/{repo-slug}/forks
GET
Listwebhooksforrepository — Atlassian List Webhooks for Repository
/v1/repositories/{workspace}/{repo-slug}/hooks
GET
Listissues — Atlassian List Issues
/v1/repositories/{workspace}/{repo-slug}/issues
GET
Listattachmentsforanissue — Atlassian List Attachments for an Issue
/v1/repositories/{workspace}/{repo-slug}/issues/{issue-id}/attachments
GET
Listchangesonanissue — Atlassian List Changes on an Issue
/v1/repositories/{workspace}/{repo-slug}/issues/{issue-id}/changes
GET
Listcommentsonanissue — Atlassian List Comments on an Issue
/v1/repositories/{workspace}/{repo-slug}/issues/{issue-id}/comments
GET
Listmilestones — Atlassian List Milestones
/v1/repositories/{workspace}/{repo-slug}/milestones
GET
Listexplicitgrouppermissionsforrepository — Atlassian List Explicit Group Permissions for Repository
/v1/repositories/{workspace}/{repo-slug}/permissions-config/groups
GET
Listexplicituserpermissionsforrepository — Atlassian List Explicit User Permissions for Repository
/v1/repositories/{workspace}/{repo-slug}/permissions-config/users
GET
Listpipelines — Atlassian List Pipelines
/v1/repositories/{workspace}/{repo-slug}/pipelines
GET
Listcaches — Atlassian List Caches
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/caches
GET
Liststepsforpipeline — Atlassian List Steps for Pipeline
/v1/repositories/{workspace}/{repo-slug}/pipelines/{pipeline-uuid}/steps
GET
Listschedules — Atlassian List Schedules
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/schedules
GET
Listexecutionsofschedule — Atlassian List Executions of Schedule
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/schedules/{schedule-uuid}/executions
GET
Listknownhosts — Atlassian List Known Hosts
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/ssh/known-hosts
GET
Listvariablesforrepository — Atlassian List Variables for Repository
/v1/repositories/{workspace}/{repo-slug}/pipelines-config/variables
GET
Listpullrequests — Atlassian List Pull Requests
/v1/repositories/{workspace}/{repo-slug}/pullrequests
GET
Listpullrequestactivitylog — Atlassian List Pull Request Activity Log
/v1/repositories/{workspace}/{repo-slug}/pullrequests/activity
GET
Listpullrequestactivitylog — Atlassian List Pull Request Activity Log
/v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/activity
GET
Listcommentsonpullrequest — Atlassian List Comments on Pull Request
/v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/comments
GET
Listcommitsonpullrequest — Atlassian List Commits on Pull Request
/v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/commits
GET
Listchangesinpullrequest — Atlassian List Changes in Pull Request
/v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/diff
GET
Listcommitstatusesforpullrequest — Atlassian List Commit Statuses for Pull Request
/v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/statuses
GET
Listtasksonpullrequest — Atlassian List Tasks on Pull Request
/v1/repositories/{workspace}/{repo-slug}/pullrequests/{pull-request-id}/tasks
GET
Listbranchesandtags — Atlassian List Branches and Tags
/v1/repositories/{workspace}/{repo-slug}/refs
GET
Listopenbranches — Atlassian List Open Branches
/v1/repositories/{workspace}/{repo-slug}/refs/branches
GET
Listtags — Atlassian List Tags
/v1/repositories/{workspace}/{repo-slug}/refs/tags
GET
Listdefinedversionsforissues — Atlassian List Defined Versions for Issues
/v1/repositories/{workspace}/{repo-slug}/versions
GET
Listrepositorieswatchers — Atlassian List Repositories Watchers
/v1/repositories/{workspace}/{repo-slug}/watchers
GET
Listrepositorypermissionsforworkspace — Atlassian List Repository Permissions for Workspace
/v1/workspaces/{workspace}/permissions/repositories/{repo-slug}

MCP Tools

atlassian-list-repositories-workspace

Atlassian List Repositories in Workspace

read-only idempotent
atlassian-list-branch-restrictions

Atlassian List Branch Restrictions

read-only idempotent
atlassian-list-commits-comments

Atlassian List Commits Comments

read-only idempotent
atlassian-list-pull-requests-that

Atlassian List Pull Requests That Contain Commit

read-only idempotent
atlassian-list-reports

Atlassian List Reports

read-only idempotent
atlassian-list-annotations

Atlassian List Annotations

read-only idempotent
atlassian-list-commit-statuses-commit

Atlassian List Commit Statuses for Commit

read-only idempotent
atlassian-list-commits

Atlassian List Commits

read-only idempotent
atlassian-list-commits-include-exclude

Atlassian List Commits With Include/exclude

read-only
atlassian-list-commits-revision

Atlassian List Commits for Revision

read-only idempotent
atlassian-list-commits-revision-using

Atlassian List Commits for Revision Using Include/exclude

read-only
atlassian-list-components

Atlassian List Components

read-only idempotent
atlassian-list-default-reviewers

Atlassian List Default Reviewers

read-only idempotent
atlassian-list-repository-deploy-keys

Atlassian List Repository Deploy Keys

read-only idempotent
atlassian-list-deployments

Atlassian List Deployments

read-only idempotent
atlassian-list-variables-environment

Atlassian List Variables for an Environment

read-only idempotent
atlassian-list-download-artifacts

Atlassian List Download Artifacts

read-only idempotent
atlassian-list-effective-default-reviewers

Atlassian List Effective Default Reviewers

read-only idempotent
atlassian-list-environments

Atlassian List Environments

read-only idempotent
atlassian-list-commits-that-modified

Atlassian List Commits That Modified File

read-only idempotent
atlassian-list-repository-forks

Atlassian List Repository Forks

read-only idempotent
atlassian-list-webhooks-repository

Atlassian List Webhooks for Repository

read-only idempotent
atlassian-list-issues

Atlassian List Issues

read-only idempotent
atlassian-list-attachments-issue

Atlassian List Attachments for an Issue

read-only idempotent
atlassian-list-changes-issue

Atlassian List Changes on an Issue

read-only idempotent
atlassian-list-comments-issue

Atlassian List Comments on an Issue

read-only idempotent
atlassian-list-milestones

Atlassian List Milestones

read-only idempotent
atlassian-list-explicit-group-permissions

Atlassian List Explicit Group Permissions for Repository

read-only idempotent
atlassian-list-explicit-user-permissions

Atlassian List Explicit User Permissions for Repository

read-only idempotent
atlassian-list-pipelines

Atlassian List Pipelines

read-only idempotent
atlassian-list-caches

Atlassian List Caches

read-only idempotent
atlassian-list-steps-pipeline

Atlassian List Steps for Pipeline

read-only idempotent
atlassian-list-schedules

Atlassian List Schedules

read-only idempotent
atlassian-list-executions-schedule

Atlassian List Executions of Schedule

read-only idempotent
atlassian-list-known-hosts

Atlassian List Known Hosts

read-only idempotent
atlassian-list-variables-repository

Atlassian List Variables for Repository

read-only idempotent
atlassian-list-pull-requests

Atlassian List Pull Requests

read-only idempotent
atlassian-list-pull-request-activity

Atlassian List Pull Request Activity Log

read-only idempotent
atlassian-list-pull-request-activity-2

Atlassian List Pull Request Activity Log

read-only idempotent
atlassian-list-comments-pull-request

Atlassian List Comments on Pull Request

read-only idempotent
atlassian-list-commits-pull-request

Atlassian List Commits on Pull Request

read-only idempotent
atlassian-list-changes-pull-request

Atlassian List Changes in Pull Request

read-only idempotent
atlassian-list-commit-statuses-pull

Atlassian List Commit Statuses for Pull Request

read-only idempotent
atlassian-list-tasks-pull-request

Atlassian List Tasks on Pull Request

read-only idempotent
atlassian-list-branches-and-tags

Atlassian List Branches and Tags

read-only idempotent
atlassian-list-open-branches

Atlassian List Open Branches

read-only idempotent
atlassian-list-tags

Atlassian List Tags

read-only idempotent
atlassian-list-defined-versions-issues

Atlassian List Defined Versions for Issues

read-only idempotent
atlassian-list-repositories-watchers

Atlassian List Repositories Watchers

read-only idempotent
atlassian-list-repository-permissions-workspace

Atlassian List Repository Permissions for Workspace

read-only idempotent

Capability Spec

bitbucket-repositories-lists.yaml Raw ↑
naftiko: 1.0.0-alpha2
info:
  label: Atlassian Bit Bucket Repositories API — Lists
  description: 'Atlassian Bit Bucket Repositories API — Lists. 50 operations. Lead operation: Atlassian List Repositories
    in Workspace. Self-contained Naftiko capability covering one Atlassian business surface.'
  tags:
  - Atlassian
  - Lists
  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-lists
    baseUri: https://api.bitbucket.org/2.0
    description: Atlassian Bit Bucket Repositories API — Lists 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-branch-restrictions
      path: /repositories/{workspace}/{repo_slug}/branch-restrictions
      operations:
      - name: listbranchrestrictions
        method: GET
        description: Atlassian List Branch Restrictions
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: kind
          in: query
          type: string
          description: Branch restrictions of this type
        - name: pattern
          in: query
          type: string
          description: Branch restrictions applied to branches of this pattern
    - name: repositories-workspace-repo_slug-commit-commit-comments
      path: /repositories/{workspace}/{repo_slug}/commit/{commit}/comments
      operations:
      - name: listcommitscomments
        method: GET
        description: Atlassian List Commits Comments
        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: Field by which the results should be sorted as per
    - name: repositories-workspace-repo_slug-commit-commit-pullrequests
      path: /repositories/{workspace}/{repo_slug}/commit/{commit}/pullrequests
      operations:
      - name: listpullrequeststhatcontaincommit
        method: GET
        description: Atlassian List Pull Requests That Contain Commit
        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
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository; either the UUID in curly braces, or the slug
          required: true
        - name: commit
          in: path
          type: string
          description: The SHA1 of the commit
          required: true
        - name: page
          in: query
          type: integer
          description: Which page to retrieve
        - name: pagelen
          in: query
          type: integer
          description: How many pull requests to retrieve per page
    - name: repositories-workspace-repo_slug-commit-commit-reports
      path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports
      operations:
      - name: listreports
        method: GET
        description: Atlassian List Reports
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: commit
          in: path
          type: string
          description: The commit for which to retrieve reports.
          required: true
    - name: repositories-workspace-repo_slug-commit-commit-reports-reportId-annotations
      path: /repositories/{workspace}/{repo_slug}/commit/{commit}/reports/{reportId}/annotations
      operations:
      - name: listannotations
        method: GET
        description: Atlassian List Annotations
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: commit
          in: path
          type: string
          description: The commit for which to retrieve reports.
          required: true
        - name: reportId
          in: path
          type: string
          description: Uuid or external-if of the report for which to get annotations for.
          required: true
    - name: repositories-workspace-repo_slug-commit-commit-statuses
      path: /repositories/{workspace}/{repo_slug}/commit/{commit}/statuses
      operations:
      - name: listcommitstatusesforcommit
        method: GET
        description: Atlassian List Commit Statuses for Commit
        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: Field by which the results should be sorted as per
    - name: repositories-workspace-repo_slug-commits
      path: /repositories/{workspace}/{repo_slug}/commits
      operations:
      - name: listcommits
        method: GET
        description: Atlassian List Commits
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: listcommitswithincludeexclude
        method: POST
        description: Atlassian List Commits With Include/exclude
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repositories-workspace-repo_slug-commits-revision
      path: /repositories/{workspace}/{repo_slug}/commits/{revision}
      operations:
      - name: listcommitsforrevision
        method: GET
        description: Atlassian List Commits for Revision
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
      - name: listcommitsforrevisionusingincludeexclude
        method: POST
        description: Atlassian List Commits for Revision Using Include/exclude
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repositories-workspace-repo_slug-components
      path: /repositories/{workspace}/{repo_slug}/components
      operations:
      - name: listcomponents
        method: GET
        description: Atlassian List Components
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repositories-workspace-repo_slug-default-reviewers
      path: /repositories/{workspace}/{repo_slug}/default-reviewers
      operations:
      - name: listdefaultreviewers
        method: GET
        description: Atlassian List 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: repositories-workspace-repo_slug-deployments
      path: /repositories/{workspace}/{repo_slug}/deployments
      operations:
      - name: listdeployments
        method: GET
        description: Atlassian List Deployments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
    - name: repositories-workspace-repo_slug-deployments_config-environments-environment_uui
      path: /repositories/{workspace}/{repo_slug}/deployments_config/environments/{environment_uuid}/variables
      operations:
      - name: listvariablesforanenvironment
        method: GET
        description: Atlassian List Variables for an Environment
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
        - name: environment_uuid
          in: path
          type: string
          description: The environment.
          required: true
    - name: repositories-workspace-repo_slug-downloads
      path: /repositories/{workspace}/{repo_slug}/downloads
      operations:
      - name: listdownloadartifacts
        method: GET
        description: Atlassian List Download Artifacts
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repositories-workspace-repo_slug-effective-default-reviewers
      path: /repositories/{workspace}/{repo_slug}/effective-default-reviewers
      operations:
      - name: listeffectivedefaultreviewers
        method: GET
        description: Atlassian List Effective Default Reviewers
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repositories-workspace-repo_slug-environments
      path: /repositories/{workspace}/{repo_slug}/environments
      operations:
      - name: listenvironments
        method: GET
        description: Atlassian List Environments
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: workspace
          in: path
          type: string
          description: This can either be the workspace ID (slug) or the workspace UUID surrounded by curly-braces, for example
            `{workspace UUID}`.
          required: true
        - name: repo_slug
          in: path
          type: string
          description: The repository.
          required: true
    - name: repositories-workspace-repo_slug-filehistory-commit-path
      path: /repositories/{workspace}/{repo_slug}/filehistory/{commit}/{path}
      operations:
      - name: listcommitsthatmodifiedfile
        method: GET
        description: Atlassian List Commits That Modified File
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: renames
          in: query
          type: string
          description: When `true`, Bitbucket will follow the history of the file across
        - 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
    - 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: 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: repositories-workspace-repo_slug-issues
      path: /repositories/{workspace}/{repo_slug}/issues
      operations:
      - name: listissues
        method: GET
        description: Atlassian List Issues
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repositories-workspace-repo_slug-issues-issue_id-attachments
      path: /repositories/{workspace}/{repo_slug}/issues/{issue_id}/attachments
      operations:
      - name: listattachmentsforanissue
        method: GET
        description: Atlassian List Attachments for an Issue
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repositories-workspace-repo_slug-issues-issue_id-changes
      path: /repositories/{workspace}/{repo_slug}/issues/{issue_id}/changes
      operations:
      - name: listchangesonanissue
        method: GET
        description: Atlassian List Changes on an Issue
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: q
          in: query
          type: string
          description: Query string to narrow down the response. See
        - name: sort
          in: query
          type: string
          description: Name of a response property to sort results. See
    - name: repositories-workspace-repo_slug-issues-issue_id-comments
      path: /repositories/{workspace}/{repo_slug}/issues/{issue_id}/comments
      operations:
      - name: listcommentsonanissue
        method: GET
        description: Atlassian List Comments on an Issue
        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: repositories-workspace-repo_slug-milestones
      path: /repositories/{workspace}/{repo_slug}/milestones
      operations:
      - name: listmilestones
        method: GET
        description: Atlassian List Milestones
        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-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-pipelines
      path: /repositories/{workspace}/{repo_slug}/pipelines
      operations:
      - name: listpipelines
        method: GET
        description: Atlassian List Pipelines
        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-caches
      path: /repositories/{workspace}/{repo_slug}/pipelines-config/caches
      operations:
      - name: listcaches
        method: GET
        description: Atlassian List Caches
        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-pipeline_uuid-steps
      path: /repositories/{workspace}/{repo_slug}/pipelines/{pipeline_uuid}/steps
      operations:
      - name: liststepsforpipeline
        method: GET
        description: Atlassian List Steps for 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: repositories-workspace-repo_slug-pipelines_config-schedules
      path: /repositories/{workspace}/{repo_slug}/pipelines_config/schedules
      operations:
      - name: listschedules
        method: GET
        description: Atlassian List Schedules
        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-schedules-schedule_uuid-execut
      path: /repositories/{workspace}/{repo_slug}/pipelines_config/schedules/{schedule_uuid}/executions
      operations:
      - name: listexecutionsofschedule
        method: GET
        description: Atlassian List Executions of 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-known_hosts
      path: /repositories/{workspace}/{repo_slug}/pipelines_config/ssh/known_hosts
      operations:
      - name: listknownhosts
        method: GET
        description: Atlassian List Known Hosts
        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-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: repositories-workspace-repo_slug-pullrequests
      path: /repositories/{workspace}/{repo_slug}/pullrequests
      operations:
      - name: listpullrequests
        method: GET
        description: Atlassian List Pull Requests
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: state
          in: query
          type: string
          description: Only return pull requests that are in this state. This parameter can be repeated.
    - name: repositories-workspace-repo_slug-pullrequests-activity
      path: /repositories/{workspace}/{repo_slug}/pullrequests/activity
      operations:
      - name: listpullrequestactivitylog
        method: GET
        description: Atlassian List Pull Request Activity Log
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-activity
      path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/activity
      operations:
      - name: listpullrequestactivitylog
        method: GET
        description: Atlassian List Pull Request Activity Log
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-comments
      path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/comments
      operations:
      - name: listcommentsonpullrequest
        method: GET
        description: Atlassian List Comments on Pull Request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-commits
      path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/commits
      operations:
      - name: listcommitsonpullrequest
        method: GET
        description: Atlassian List Commits on Pull Request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-diff
      path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/diff
      operations:
      - name: listchangesinpullrequest
        method: GET
        description: Atlassian List Changes in Pull Request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-statuses
      path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/statuses
      operations:
      - name: listcommitstatusesforpullrequest
        method: GET
        description: Atlassian List Commit Statuses for Pull Request
        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: Field by which the results should be sorted as per
    - name: repositories-workspace-repo_slug-pullrequests-pull_request_id-tasks
      path: /repositories/{workspace}/{repo_slug}/pullrequests/{pull_request_id}/tasks
      operations:
      - name: listtasksonpullrequest
        method: GET
        description: Atlassian List Tasks on Pull Request
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
        inputParameters:
        - name: q
          in: query
          type: string
          description: Query string to narrow down the response. See
        - name: sort
          in: query
          type: string
          description: Field by which the results should be sorted as per
        - name: pagelen
          in: query
          type: integer
          description: Current number of objects on the existing page.
    - name: repositories-workspace-repo_slug-refs
      path: /repositories/{workspace}/{repo_slug}/refs
      operations:
      - name: listbranchesandtags
        method: GET
        description: Atlassian List Branches and Tags
        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: Field by which the results should be sorted as per
    - name: repositories-workspace-repo_slug-refs-branches
      path: /repositories/{workspace}/{repo_slug}/refs/branches
      operations:
      - name: listopenbranches
        method: GET
        description: Atlassian List Open Branches
        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: Field by which the results should be sorted as per
    - name: repositories-workspace-repo_slug-refs-tags
      path: /repositories/{workspace}/{repo_slug}/refs/tags
      operations:
      - name: listtags
        method: GET
        description: Atlassian List Tags
        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: Field by which the results should be sorted as per
    - name: repositories-workspace-repo_slug-versions
      path: /repositories/{workspace}/{repo_slug}/versions
      operations:
      - name: listdefinedversionsforissues
        method: GET
        description: Atlassian List Defined Versions for Issues
        outputRawFormat: json
        outputParameters:
        - name: result
          type: object
          value: $.
    - 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-lists-rest
    port: 8080
    description: REST adapter for Atlassian Bit Bucket Repositories API — Lists. 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-lists.listrepositoriesinworkspace
        with:
          role: rest.role
          q: rest.q
          sort: rest.sort
        outputParameters:
        - type: object
          mapping: $.
    - path: /v1/repositories/{workspace}/{repo-slug}/branch-restrictions
      name: repositories-workspace-repo-slug-branch-restrictions
      description: REST surface for repositories-workspace-repo_slug-branch-restrictions.
      operations:


# --- truncated at 32 KB (75 KB total) ---
# Full source: https://raw.githubusercontent.com/api-evangelist/atlassian/refs/heads/main/capabilities/bitbucket-repositories-lists.yaml