Hi,
How can I get all branches for current repository ? As first I get all repositories for my team through this api: https://api.bitbucket.org/2.0/repositories/{TeamName} and used basic authentication for user who has permissions to read repositories. I found in documentation that when I get UUID of repo then no team or user need to be specified. So I used this api for getting all branches: /repositories/{username}/{repo_slug}/refs/branches exactly I used this format: https://bitbucket.org/2.0/repositories/%7B%7D/%7BUUID_Repo7D/refs/branches and dont use any authentication and I get nothing - message not found. So could you please advice me how can I get all branches for current repo ?
Thanks
Lukas
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.