Players

Battle replay

Where every vehicle was through a battle, for the 2D viewer, decoded from the replay file the players' own clients recorded. The decoded positions and nothing else: the file itself carries the whole packet stream the recording client received, the battle chat included, which is not published. 404 when no replay was kept for this battle, which is the ordinary case, since one exists only when a player who was there had recording on and shared it.

get/{region}/battles/{id}/replay

Request

  • Base URL: https://unicum.gg/api
  • URL: https://unicum.gg/api/{region}/battles/{id}/replay
  • Auth: none required

Path parameters

region'eu' | 'na' | 'asia' required

Game server region.

idstring required

The game's own battle id (arenaUniqueID), as digits. A string, not a number: it runs to 19 digits.

Response

Successful response

durationnumber required

How long the recording runs, in seconds.

ticksPerSecondnumber required

Clock ticks a second in each point's first value. Hundredths, so a point's instant in seconds is its tick divided by this.

startsAtnumber required

The clock tick the countdown ends and the battle begins. Zero when it cannot be worked out. Before it every vehicle sits on its spawn without moving, and since positions are only recorded when they change, a reader must treat that stretch as everybody being visible rather than nobody.

mapImagestring nullable required

The minimap this battle was played on, resolved for its own mode. Here as well as on the battle itself so a caller holding only this answer can draw the positions on something.

mapOverlayunknown required

Changes

No recorded changes to this operation across all 1 revision of this API.