Skip to content

Download a tournament match recording

GET
/api/replay/tournament-match/{id}
curl --request GET \
--url https://foxleague.ai/api/replay/tournament-match/example

The whole recording of a tournament or challenge match whose broadcast has ended, asked by its public id (matches[].id of GET /api/tournaments/{id}), for the match viewer. Sent with Cache-Control: public, max-age=86400: add ?r= with the end of the broadcast (broadcast_ended_at) to keep one copy per broadcast. Before the end of its broadcast the answer is 404 like an unknown id.

Who: anyone.

id
required
string

The match’s public id (matches[].id of the tournament): 22 URL-safe characters.

Success or a refusal: read success (the refusals are in the description).

Media type application/octet-stream
Array<integer>

No valid session. The body is plain text: Missing Authorization header, Invalid Authorization format, Invalid session token or Session expired or invalid. Sign in again.

Media type text/plain
string
Example
Session expired or invalid

No such public id; a match whose broadcast has not ended yet; a match without a recording.

The recording is no longer kept.

A server read failed. Nothing is sent.