Read one battle
GET/battles/:id
A battle belonging to another casino answers 404, identically to one that
does not exist. A 403 would confirm the id is real and turn this route into
an enumeration oracle.
Scope: battles:read
Request
Responses
- 200
- 401
- 403
- 404
- 503
The battle
Missing, malformed, revoked or expired API key
The key lacks battles:read, or the casino is suspended
No such battle for this casino. Another casino's battle answers this too — the response cannot be used to prove an id exists
The lobby is still initialising