Hi All,
I have a requirement to get all the repositories along with their project names, so far I haven't got any API that would give me that information.
I am using the Cloud platform and require API or any near solution to that.
So far, I have tried the following API but didn't get the repos in that project, only got the project information :
Hi Kompal,
short answer: yes we do :)
You can make use of the 'List workspace repositories' API endpoint [1].
It's a paginated API so make sure you iterate through all pages to fetch all repos.
The response repo object contains project information as well under the `project` field.
Hope that helps.
Best, Ulrich
// Izymes
You can refer this
Access to repository data
Any access to /2.0/repositories/* such as:
List a user or team's repositories (/2.0/repositories/{workspace})
List all repositories on Bitbucket (/2.0/repositories)
List a repository's commits (/2.0/repositories/{workspace}/{slug}/commits)
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.