v20

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-011984401.2 MB
League Discovery

Get league rule templates

Returns league rule templates visible to authenticated API clients, optionally filtered by game or official status. Requires leagues.league_public:read.

post/leagues/templates

Request body

gameIdstring

Optional game ID filter.

isOfficialboolean

Optional official-template filter.

Response

League rule templates.

templatesobject[] required

Rule templates visible to the API key owner.

countinteger required

Number of templates returned.

timestampstring required

Response generation time (ISO 8601).