Skip to main content
2 of 2
`Throttling` (8 Q's) and `rate-limit` (25 Q's) are the same thing. Merging tags.
Brock Adams
  • 13k
  • 5
  • 39
  • 64

What's an example of the backoff field? Is there some way I can simulate it to test appropriate behavior?

In reading about the API rate limiting, the documentation talks about a method responding with an ominous backoff field, and states that the client should cease from calling that method for that many seconds.

Is there a dummy method that always returns a backoff that I can test against? Otherwise, what does the backoff field come back in the form of?

Regular int?

{ ... "backoff": 20}

a string to be parsed?

{ ... "backoff": "20"}