scoreriverDocumentation
Documentation/Response formats and relationships
SCORERIVER DEVELOPERS

Response formats and relationships

Read IDs, dates and missing values correctly, and follow links between matches, teams and players.

IDs and linked resources

Record IDs are UUID strings. Use IDs returned by the API rather than constructing them from a name or slug. Player and coach profiles have separate IDs. tournamentId, teamAId, teamBId and playerId link records to their related resources.

JSON fields use camelCase. Calendar dates use YYYY-MM-DD; timestamps use UTC ISO 8601. null means an unknown or unavailable value, not zero. Empty collections use []. Currency amounts are decimal strings with a currency code.

Current rosters and match lineups

A profile’s team describes membership on the requested date. /players/{id}/roster-history provides membership periods. report.lineups records who played in a particular match, so historical match participants can differ from today’s team roster.

Match scoreA/scoreB are series scores. Scores inside report.maps are map scores. resultKind distinguishes played matches, forfeits and byes. When displaying a result, check status and resultKind as well as the score.

Statistical completeness

dataAvailability describes the available result, lineups and player measurements. Each block reports available and expected counts. Live measurements are preliminary. Unknown measurements remain null; never substitute zero when calculating averages.

Versions and updates

Data can be corrected or become unavailable. Use change feeds to refresh cached records or remove them when an archive event arrives. publishedAt identifies when a version became available through the API; version/sourceRevisions let you identify the data used in an aggregate.