Create
cancel
Showing results for 
Search instead for 
Did you mean: 
Sign up Log in
Deleted user
Level
0 / 0 points
Next:
badges earned

Your Points Tracker
Challenges
Leaderboard
  • Global
  • Feed

Badge for your thoughts?

You're enrolled in our new beta rewards program. Join our group to get the inside scoop and share your feedback.

Join group
Recognition
Give the gift of kudos
You have 0 kudos available to give
Who do you want to recognize?
Why do you want to recognize them?
Kudos
Great job appreciating your peers!
Check back soon to give more kudos.

Past Kudos Given
No kudos given
You haven't given any kudos yet. Share the love above and you'll see it here.

It's not the same without you

Join the community to find out what other Atlassian users are discussing, debating and creating.

Atlassian Community Hero Image Collage

Could it be possible to configure rate limit by user or repo or any other way to avoid rate limit ?

Hi, I've being doing some tests fetching pull request commits using the bitbucket api.

 

The endpoint I'm using is `https://api.bitbucket.org/2.0/repositories/MYTEAM/MYREPO/pullrequests/1/commits`

 

I've used two different tokens.

 

One token comes from my personal account and the other one was provided and comes from Bitbucket Cloud as well (not on premise tokens)

 

I've done more than 1,000 requests with my personal token in less than an hour and it doesn't hit rate limit errors.

 

But when using the other token i hit the rate limit error. 

 

I've read the documentation and it seems that the api should give me the rate limit when using my personal token as well. This is the link https://confluence.atlassian.com/bitbucket/rate-limits-668173227.html#Ratelimits-Requestlimits

 

1.- Could this be a bug in the api?

2.- Could it be possible to configure rate limits by user or a repo using a different Bitbucket Cloud Plan?

3.- Maybe I am not understanding how the rate limits works? I've read this as well https://community.atlassian.com/t5/Bitbucket-questions/Bitbucket-REST-API-Rate-Limiting/qaq-p/737597

4.- Could it be possible to have different results with different parameters?

5.- Could I ask to the other token source to change some settings in order to make this work as my personal account?

 

I'm more interesting in see if I can make the provided token behave like my personal token :)

 

 

 

 

0 answers

Suggest an answer

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

Calling any interview participants for Bitbucket Data Center

Hi everyone,  We are looking to learn more about development teams’ workflows and pain points, especially around DevOps, integrations, administration, scale, security, and the related challeng...

505 views 6 4
Read article

Community Events

Connect with like-minded Atlassian users at free events near you!

Find an event

Connect with like-minded Atlassian users at free events near you!

Unfortunately there are no Community Events near you at the moment.

Host an event

You're one step closer to meeting fellow Atlassian users at your local event. Learn more about Community Events

Events near you