Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in

List Repositories in a group using REST API

Shahid Badusha July 26, 2022

How to get the list of repositories in bitbucket group using rest API..?

 

 

 

1 answer

0 votes
Syahrul
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
July 27, 2022

Hi @Shahid Badusha 

Welcome to the community!

I suggest you check our API documentation to find any available API you can use in the Bitbucket cloud.

That said, if you wish to get the list of repositories in a Workspace, you can use the following List of repositories in a Workspace endpoint for example:

CURL
curl -X GET -u username:password "https://api.bitbucket.org/2.0/repositories/<workspace-ID>/?pagelen=10"

The above curl commands will return all repositories listed for your workspace.

Hope this helps

Cheers,
Syahrul

Suggest an answer

Log in or Sign up to answer
DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Site Admin
TAGS
AUG Leaders

Atlassian Community Events