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)
Online forums and learning are now in one easy-to-use experience.
By continuing, you accept the updated Community Terms of Use and acknowledge the Privacy Policy. Your public name, photo, and achievements may be publicly visible and available in search engines.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.