Skip to content
DonutStatsAPI
Sign up
Object

Snapshot

A leaderboard as it stood at one moment.

Every complete leaderboard ever recorded is kept. List them with GET /v1/leaderboards/{board}/snapshots and read one with GET /v1/leaderboards/{board}/snapshots/{id}.

Fields

  • idinteger

    Snapshot id. Use it with /v1/leaderboards/{board}/snapshots/{id}.

  • boardstring

    Board id.

  • daystring

    UTC date the snapshot belongs to, YYYY-MM-DD.

  • startedAttimestamp

    When the snapshot started.

  • finishedAttimestamp

    When the snapshot was complete.

  • entriesinteger

    Players on the board at that time.