Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

Getting all branches for all repos within a project with REST Api

Noah Campus November 24, 2022



I am trying to list all branches within a project.

I can get the branches for specific repos with:{workspace}/{repo_slug}/refs/branches

but I want a list of all repositories and their branches.


Is there a way to achieve this?




1 answer

0 votes
Neel Devani November 24, 2022

Hey @Noah Campus  I am trying to do the same but so I far I get list of all repos which is under some proj with basic authentication in auth header wiht like this 


you can refer this 👇
REST Resources Provided By: Bitbucket Server - REST (

Suggest an answer

Log in or Sign up to answer
AUG Leaders

Atlassian Community Events