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

    Type Alias HistoryDailyRow

    One park-local day of an entity's history reduced to the numbers a crowd calendar needs. standby, singleRider and showCount are ABSENT rather than null when there is nothing to report: an absent standby means no numeric standby wait was in force while OPERATING for a whole sampled minute that day — the statistics are sampled at minute resolution, so a wait published only inside a sub-minute window produces no block at all, even though /history records it and the day's operatingMinutes count it. The same applies to singleRider. An absent showCount means the entity published no showtimes. showCount counts distinct performance start times in the local day.

    type HistoryDailyRow = {
        changes: number;
        date: string;
        downMinutes: number;
        firstOperatingAt: string | null;
        lastClosedAt: string | null;
        operatingMinutes: number;
        showCount?: number;
        singleRider?: HistoryDailyStats;
        standby?: HistoryDailyStats;
    }
    Index
    changes: number

    Number of history rows recorded on this day, i.e. instants at which any kind changed. Short flaps are counted as they happened; this is not a cleaned figure.

    date: string

    The park-local calendar day this row summarises, YYYY-MM-DD, in the entity's timezone.

    downMinutes: number

    Minutes of this park-local day the entity was DOWN. As with operatingMinutes, today's count covers only the elapsed part of the day.

    firstOperatingAt: string | null

    UTC instant (whole seconds) the entity first became OPERATING on this park-local day, or null if it never did. A day that opened already OPERATING reports the start of the local day.

    lastClosedAt: string | null

    UTC instant (whole seconds) of the last transition out of OPERATING or DOWN into CLOSED or REFURBISHMENT after firstOperatingAt, or null if there was none. For a park closing after local midnight this instant falls on the following UTC day.

    operatingMinutes: number

    Minutes of this park-local day the entity was OPERATING. Minutes with no observed state count as neither operating nor down, so the two counters need not add up to the length of the day. For TODAY the count covers only the minutes that have already elapsed, so it grows through the day and is final once the day ends: a caller polling today's row sees it rise, which is the day filling in rather than the answer changing.

    showCount?: number

    Distinct performance start times whose park-local day is this day. Present only for entities that published showtimes on the day.

    singleRider?: HistoryDailyStats