Skip to content

Download a tournament match's files

GET
/api/public/tournament-match/{id}/log
curl --request GET \
--url 'https://foxleague.ai/api/public/tournament-match/example/log?kind=example'

Downloads the files of a tournament or challenge match whose broadcast has ended as an attachment, asked by its public id (matches[].id of GET /api/tournaments/{id}), for developers who debug their team: kind=rcg the recording, kind=rcl the match server’s command log. Responses may be cached for a day.

Who: anyone.

id
required
string

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

kind
required
string

rcg for the recording or rcl for the match server’s command log.

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

Media type application/octet-stream
Array<integer>

kind is not rcg or rcl.

No such public id, its broadcast has not ended yet, it has no recording or the requested file does not exist.

A server read failed. The body is empty.