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.
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.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I would be very interested in a way to get a paginated list of public repositories via REST.
Ideally, what I would prefer is a list of public (or not) repositories with "search string" in the name or full name. I know how to do this for non public repos, but being able to expand to public repos would be extremely helpful!
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I didn't see a response. Is there a REST API to return all "Public" repositories for Bitbucket Server?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
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.