Forums

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

Getting private repository list in Bitbucket Cloud via REST API

Hwasoo Lee
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!
May 4, 2017

Hi,

I am trying to get private repositories using the REST API as below.

URL: "https://api.bitbucket.org/2.0/repositories/HVHC";

with a proper credential.

But when enumerating the results I noticed that it does not return all repositories which are 201 but it only returns around 20.

So I am wondering why it does not return all repositories. The credential that I use has the admin privilege.

I am planning to create a system for audit and management of Bitbutket.

 

Thank you!

 

 

 

 

1 answer

0 votes
Edwin Kyalangalilwa
Rising Star
Rising Star
Rising Stars are recognized for providing high-quality answers to other users. Rising Stars receive a certificate of achievement and are on the path to becoming Community Leaders.
May 19, 2018

Hi @Hwasoo Lee

Please make sure you have System Admin permission.

Screen Shot 2018-05-19 at 13.44.10.png

Suggest an answer

Log in or Sign up to answer
TAGS
AUG Leaders

Atlassian Community Events