Wait for a lookup to change
Holds the request until the lookup changes or for at most about 25 seconds. Reconnect with the last X-Lookup-Cursor value as after; this avoids frequent browser polling while preserving the same Lookup response shape.
A 200 carries no Retry-After: while the lookup is not final, reconnect at once with the new cursor. Hold only one wait per lookup. A second concurrent wait for the same lookup from the same address, or more waits than the service will hold at once, answers 429 rate_limited with Retry-After.
get/lookups/{lookup_id}/wait
Request
- Base URL: https://whenisbins.com/v1
- URL: https://whenisbins.com/v1/lookups/{lookup_id}/wait
- Auth: one of:
- none
- HTTP bearer
Path parameters
lookup_idstring uuid required
Query parameters
afterstring
Opaque cursor returned by the preceding response.
Response
Current state, returned when it changes or the hold expires.
Changes
No recorded changes to this operation across all 1 revision of this API.