Module headers

Source
Expand description

Azure DevOps rate limit headers.

For more information see Azure DevOps Rate and usage limits.

Constants§

X_RATELIMIT_DELAY
How long the request was delayed. Units: seconds with up to three decimal places (milliseconds).
X_RATELIMIT_LIMIT
Total number of TSTUs allowed before delays are imposed.
X_RATELIMIT_REMAINING
Number of TSTUs remaining before being delayed. If requests are already being delayed or blocked, it’s 0.
X_RATELIMIT_RESET
Time at which, if all resource consumption stopped immediately, tracked usage would return to 0 TSTUs. Expressed in Unix epoch time.
X_RATELIMIT_RESOURCE
A custom header indicating the service and type of threshold that was reached. Threshold types and service names might vary over time and without warning. We recommend displaying this string to a human, but not relying on it for computation.