ThemeParks.wiki Parks API - v2.0.0
    Preparing search index...

    Type Alias HistoryParkDailyEnvelope

    A day-by-day summary of a whole PARK: every entity of the park that has history, in one call. GET /v1/entity/{id}/history/daily returns THIS shape when the entity is a PARK (entityType: "PARK") and HistoryDailyEnvelope for every other entityType, so a client should branch on the presence of entities[] or on the entity's type. range.from and range.to are always park-local calendar days, and range.to is THIS PAGE's last day rather than the whole range you asked for: a call serves at most 31 park-local days and next carries the rest.

    type HistoryParkDailyEnvelope = {
        destinationId: string | null;
        entities: HistoryParkEntityDaily[];
        entityType: string;
        id: string;
        name: string;
        next: string | null;
        parentId: string | null;
        range: HistoryRange;
        timezone: string;
    }
    Index
    destinationId: string | null

    One entry per entity of the park that has history, ascending by name. An entity with no history is ABSENT — never an entry of nulls or an empty days[] — because "we hold nothing for this entity" is a different claim from "we hold nothing for these days". The park itself is included when it has history of its own.

    entityType: string
    id: string
    name: string
    next: string | null

    Absolute URL of the next page, or null on the last one. A park daily call serves at most 31 park-local days and pages by DAY: the next URL repeats your other parameters with from advanced past this page's last day. Entity order never affects paging.

    parentId: string | null
    timezone: string

    IANA timezone the park-local days are resolved in. The park is the authority on where its day boundaries fall, so every entity below is summarised in THIS zone.