How to list all the public repositories from BitBucket?

I have a requirement to list all the public repositories(main not fork ones) through code.

I used rest api, which listed along with the project details. I want to list only repository details without limit.

 

2 answers

This widget could not be displayed.

Hi Raghavendra! Since you said you used the REST api I'm assuming you're on Bitbucket Cloud. I'm not sure what you mean by "I want to list only repository details without limit", though. Can you clarify what exactly you want to list, and what have you achieved so far so we can continue helping you?

Cheers,

Ana

This widget could not be displayed.

Hi, there:

 

I have the same request to list all public repositories in our self-hosted bitbucket.

 

The easiest way to get that list on Bitbucket Server (self-hosted) is to logout and then click on the top-left "Bitbucket" logo.  All public repos are listed by default for non-logged-in users.

Alternatively, open up a private browser window, a.k.a. "incognito mode", navigate to your on-prem Bitbucket URL, ignore the login screen, and again click on the top-left "Bitbucket" logo.

Note:  if your Bitbucket repo has zero public repos, then you will only see the login screen.  Clicking on the top-left "Bitbucket" logo will simply take you back to the login screen.  If you have at least one public repo, then clicking on the "Bitbucket" logo takes you to the list of public repos.

If you're looking for a way to do this via REST, let me know, I'll see if I can figure something out.

Suggest an answer

Log in or Sign up to answer
Community showcase
Published Aug 21, 2018 in Bitbucket

Branch Management with Bitbucket

As a project manager, I have discovered that different developers want to bring their previous branching method with them when they join the team. Some developers are used to performing individual wo...

1,263 views 8 11
Read article

Atlassian User Groups

Connect with like-minded Atlassian users at free events near you!

Find a group

Connect with like-minded Atlassian users at free events near you!

Find my local user group

Unfortunately there are no AUG chapters near you at the moment.

Start an AUG

You're one step closer to meeting fellow Atlassian users at your local meet up. Learn more about AUGs

Groups near you