The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

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

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

DEPLOYMENT TYPE
CLOUD
PRODUCT PLAN
PREMIUM
PERMISSIONS LEVEL
Product Admin Site Admin
TAGS
AUG Leaders

Atlassian Community Events