Skip to content

Download a tournament match's files (admin)

GET
/api/matches/{match_id}/log
curl --request GET \
--url 'https://foxleague.ai/api/matches/1/log?kind=example'

The files of a tournament or challenge match whose broadcast has ended, asked by its match id, as an attachment: kind=rcg the recording, kind=rcl the match server’s command log. For admins: anyone else gets 404 for every id and downloads them by the public id (GET /api/public/tournament-match/{id}/log).

Who: an admin.

match_id
required
integer format: int32

The match id.

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.

Another source than the archive was asked for by anyone but an admin.

Not an admin; no such tournament or challenge match, 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.