Bitbucket cloud APIs have a good documentation, but I could not find a comprehensive examples showing how to make authenticated calls to those APIs.
My requirement is very simple. As a bitbucket cloud admin for a given workspace, I would like to get a list of all the repos the workspace has.
I would like to be able to do this from my python backend (a simple script & nothing else). There is no user interaction involved in this case. Now having gone through the documentation & a bunch of online resources, it appears that there are a few ways to get authentication tokens, which is (obviously) the first step to be able to call any other APIs.
Here are a few things I'm struggling with & would really appreciate any inputs around the same : (PS: pointing me to the right resources would also be great help. Don't necessarily need direct spoon fed answers :) )
bitbucket_app_pw = Cloud( url='https://api.bitbucket.org/', username=bitbucket_username, password=bitbucket_app_password, cloud=True)
and then the corresponding API call to list the repos seems to be
but the `bitbucket` Cloud object, obtained from the former snippet above, does not seem to have the project_list method at all. Am I missing something here?
We are excited to announce the open beta program for self-hosted runners. Bitbucket Pipelines Runners is available to everyone. Please try it and let us know your feedback. If you have any issue...
Connect with like-minded Atlassian users at free events near you!Find an event
Connect with like-minded Atlassian users at free events near you!
Unfortunately there are no Community Events near you at the moment.Host an event
You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events