Using
limit
and
moreEvents
The
limit
specified in the poll is the maximum number of events the API returns. The API returns the user-specified
limit
, the internal
limit
of 100, or the actual number of events, whichever is lowest. The user-specified
limit
should be at least 50 to improve your aggregate throughput.
The API does not always return
limit
events, even if they exist. Do not assume that a response with fewer events than the user-specified
limit
implies no more events. You must use
moreEvents
to determine if there are more events to poll from the API.