This question is in reference to Atlassian Documentation: Rate limits
I will like to find out how many request are left before I hit the API rate limit. Ideally also the timestamp when the limit will be reset. GitHub returns this information on every API response headers:
X-RateLimit-Limit,
X-RateLimit-Remaining,
X-RateLimit-Reset
Something similar would be nice to have, or maybe there is a separate API call to retrieve this info?
Community moderators have prevented the ability to post new answers.
Are the rate limits per user per hour, or per team per hour?
That would certainly be nice and this is something we are looking into. At the moment however there is no way to predict when rate limiting will occur.
You could keep track yourself by counting your requests and comparing them to the hourly allotment to the published maximums: https://confluence.atlassian.com/bitbucket/rate-limits-668173227.html#Ratelimits-Requestlimits but I will agree that this is cumbersome.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
The linked document does not help anyone using the endpoints not covered by the listed 3. Your own documentation lists eight top level endpoints, not to mention all the sub-endpoints. What are the limits for these endpoints?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.