The Atlassian Community Forums are currently in read-only mode. We will be relaunching on a new platform on September 22 (read more here). We apologize for the extended downtime. For concerns or questions, please email communitymanagers@atlassian.com. See you on the other side, on the new Atlassian Community Forums! :)

×

Forums

Articles
Create
cancel
Showing results for 
Search instead for 
Did you mean: 

List Repositories in a group using REST API

Shahid Badusha
I'm New Here
I'm New Here
Those new to the Atlassian Community have posted less than three times. Give them a warm welcome!
July 26, 2022

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

 

 

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

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

DEPLOYMENT TYPE
CLOUD
PERMISSIONS LEVEL
Product Admin
TAGS
AUG Leaders

Atlassian Community Events