X-RateLimit-Remaining header, so a long sync backs off on its own instead of being blocked with rate-limit errors.
Fields
Sample data
This plugin pauses the connection based on response headers rather than transforming data, so there is no before/after to show. The example below watchesX-RateLimit-Remaining, and whenever it reports 5 or fewer requests left, the connection waits 60 seconds before continuing.
| Field | Value |
|---|---|
| Header in response that tells remaining requests | X-RateLimit-Remaining |
| Threshold to start sleeping | 5 |
| Time to sleep in seconds | 60 |