screeps-api
    Preparing search index...

    Interface ScreepsRoomHistoryResponse

    GET /api/room-history / GET /room-history/${shard}/${room}/${tick}.json response

    interface ScreepsRoomHistoryResponse {
        base: number;
        ok: 1;
        room: string;
        ticks: { [tick: number]: ScreepsHistoryTick };
        timestamp: number;
    }

    Hierarchy (View Summary)

    Index

    Properties

    base: number

    Number of the first tick in this chunk

    ok: 1

    An API success response always contains { ok: 1 }

    room: string

    Room name

    ticks: { [tick: number]: ScreepsHistoryTick }

    History data indexed by tick

    timestamp: number

    UNIX timestamp (UTC) indicating the time at the start of the chunk