League Discovery

Get league rules and points config

Changed on

Returns the game rules and points configuration for a league + game, resolved by league slug. Requires the leagues.league_public:read permission.

post/leagues/{identifier}/rules

Request

  • Base URL
    https://teambattles.gg/api/v1
  • URL
    https://teambattles.gg/api/v1/leagues/{identifier}/rules
  • Auth
    HTTP bearer

Path parameters

identifierstring required

League slug.

Request body

gameIdstring required

Game id to fetch rules and points config for. Required.

Response

Game rules and points config for the league.

rulesobject nullable required

Game rules document for the league + game, or null if unset.

pointsConfigobject nullable required

Points configuration document for the league + game, or null if unset.

timestampstring required

Response generation time (ISO 8601).

Changes