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: 

Find Bitbucket Repository size using REST API

visagan santhanam
August 20, 2019

Hi,

i would like to get the size of all the repositories in the bitbucket server instance using REST API. i tried using the API mentioned in some website.

http://<bitbucket server url>/projects/<project key>/repos/<repo slug>/sizes

but this returns a 404 error. Can anyone help me with this?

Any help will be appreciated.

 

1 answer

Comments for this post are closed

Community moderators have prevented the ability to post new answers.

0 votes
Ana Retamal
Atlassian Team
Atlassian Team members are employees working across the company in a wide variety of roles.
August 23, 2019

Hi Visagan,

Thanks for your message. To help you with this, we'll need to know what request are you sending to Bitbucket, can you show us the whole body so I can try and reproduce it from my side?

Cheers,

Ana

Wanessa Rodrigues do Nascimento
February 6, 2020

Anna, 

 

TAGS
AUG Leaders

Atlassian Community Events