Come for the products,
stay for the community

The Atlassian Community can help you and your team get more value out of Atlassian products and practices.

Atlassian Community about banner
4,329,882
Community Members
 
Community Events
168
Community Groups

Test Bitbucket Rest API limits

Hi,

we are building a software that aims to find out what repositories contain a specific file (eg: .gitignore)

In order to obtain that file, we send our requests to the bitbucket REST APIs after parsing the list of repositories (https://api.bitbucket.org/2.0/repositories).

The rate-limit is pretty high but we need to ensure that, if something goes wrong and that limits are hit, we can recover our process from last successful request.

We have implemented a simple solution but it’s really hard to test.

We cannot exhaust our resources (60k https r/h and 1k r/h on repos) every time we want to check out if the implemented solution is correct (and it’s really a bad idea to waste server resources only for these tests).

 

Do you have any ideas on how manage this problem?

1 comment

This is more a question than a discussion.

I will repost it in "Ask a question" section.

Comment

Log in or Sign up to comment
TAGS
Community showcase
Published in Bitbucket

Git push size limits are coming to Bitbucket Cloud starting April 4th, 2022

Beginning on April 4th, we will be implementing push limits. This means that your push cannot be completed if it is over 3.5 GB. If you do attempt to complete a push that is over 3.5 GB, it will fail...

2,963 views 3 10
Read article

Atlassian Community Events