Hi,
I am trying to list all branches within a project.
I can get the branches for specific repos with: https://api.bitbucket.org/2.0/repositories/{workspace}/{repo_slug}/refs/branches
but I want a list of all repositories and their branches.
Is there a way to achieve this?
Regards
Noah
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
{BASE_URL}/rest/api/1.0/projects/{projectKey}/repos
you can refer this 👇REST Resources Provided By: Bitbucket Server - REST (atlassian.com)
It looks like you're new here. Sign in or register to get started.