v20

OpenAPI 3.1.0raw.githubusercontent.com2026-08-011984401.2 MB
Game: Rosters & Stats

Submit or update player stats for a map

Sets per-player stats on an existing map score for the given mapIndex. Requires the game.scores:write permission. Supports an optional Idempotency-Key request header: a retry with the same key and body replays the original response, while the same key with a different body returns 409 error_idempotency_key_conflict. The idempotency identity is scoped per match.

post/game/matches/{matchId}/player-stats

Path parameters

matchIdstring required

Match ID.

Match ID.

Request body

mapIndexinteger required

Zero-based index of the map whose stats are being updated.

playerStatsobject required

Per-player stats keyed by user ID. The map score must already exist.

Response

The player stats were updated.

successtrue required
mapIndexinteger required

Index of the map whose stats were updated.

actionstring required

Operation performed, always "updated" on success.