Bitbucket Cloud API to get list of repositories for a specific project

Chiqui Sison September 5, 2024

 

How do you get the list of repositories for a specific project using API for Bitbucket Cloud?

1 answer

0 votes
Mark C
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
September 6, 2024

Hi @Chiqui Sison,

Thank you for reaching out to the community.

You can use the below API endpoint to list your repositories.

GET /repositories/{workspace}/{repo_slug}

Reference: https://developer.atlassian.com/cloud/bitbucket/rest/api-group-repositories/#api-repositories-workspace-repo-slug-get

You can then use the filter option to filter your specific project. - https://developer.atlassian.com/cloud/bitbucket/rest/intro/#filtering

Hope it helps.

Regards,
Mark C

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events