Replay functionality is only available when mock mode is enabled. See Configuration for the relevant env vars.
Endpoint reference
| Method | Route | Auth | Purpose |
|---|---|---|---|
POST | /admin/replay/matches | Admin | Create a replay match |
GET | /admin/replay/matches | Admin | List replay matches |
POST | /admin/replay/matches/:id/control | Admin | Control replay playback |
DELETE | /admin/replay/matches/:id | Admin | Delete a replay match |
GET | /admin/replay/tapes | Admin | List available tapes |
POST /admin/replay/matches Admin
Create a new replay match from a tape.
The ID of the recorded tape to replay.
Playback speed multiplier. Default
1. Set to 2 for double speed, etc.GET /admin/replay/matches Admin
List all active replay matches and their current playback state.
POST /admin/replay/matches/:id/control Admin
Control playback of a replay match.
Replay match ID.
One of:
play, pause, stop, seek.Required when
action is seek. The ball number to seek to.