Hi all,
Quite happy with the rate limit imposed on the API, just asking about this for completeness.
The current response for rate limits can include the following values:
X-Ratelimit-Limit: 600 // The rate limit.
X-Ratelimit-Remain: 599 // Requests remaining.
X-Ratelimit-Reset: 1534248540 // Time of next reset (e.g. 14 August 2018 12:09:00 GMT).
X-Ratelimit-Window: 5m // How long the rate limit reset window is.
Just for completeness, is there documentation for the X-Ratelimit-Window
value? Is it always minutes and marked with m
units or could it ever be reported in hours, or seconds. It is a slightly academic question as the X-Ratelimit-Reset
should report the next reset time but I assume, in the future, the window value could change dynamically for operational reasons indicating the window used in the next rate limit period.
Apologies if I’ve missed this in the documentation. I couldn’t find it.