Stream waits (SSE)
GET/v1/parks/{park}/waits/stream
Server-Sent Events for one park: subscribed, a snapshot of the whole board, then changes and park messages as they happen, each an unnamed data: line with a type field, so EventSource.onmessage receives everything. A ": ping" comment arrives every 25 seconds. Browsers pass the key as ?key=. For several parks on one connection, use the WebSocket.
Parameters
- parkPATH · REQUIRED
- The park: a park key (magic-kingdom), the canonical park id, the park's name, or a shorthand (mk, epcot, hs, ak, dl, dca, usf, ioa, epic, ush), in any case.
- keyQUERY
- Optional developer key, for clients that cannot send headers.
Response
A text/event-stream; each data: line is one JSON message. See Errors for failures.
CACHE-CONTROL no-cache