A key does only what the scopes ticked on it say. A request without the scope its route needs answers 403 missing_scope.
Team record. The team’s name, region, Elo Rating, finishes and reputation.
Team and test keys
OpensMembers. Each member’s name, role and player page.
Team and test keys
OpensMembers’ Discord names. Adds the Discord name of the team’s own members.
Team and test keys · Its maker needs: See Discord names
Adds fields toMembers’ Discord IDs. Adds the Discord account ID of the team’s own members and of people applying to join.
Team and test keys · Its maker needs: See Discord names
Personal identifiers. Anyone holding this key can read them. Keep it inside your team’s tools.
Adds fields toMembers’ Steam IDs. Adds the SteamID64 of the team’s own members.
Team and test keys
Personal identifiers. Anyone holding this key can read them. Keep it inside your team’s tools.
Adds fields toRead applications. People waiting to join, with what they wrote.
Team and test keys · Its maker needs: Answer applications to join
Answer applications. Accept or decline someone waiting to join.
Team and test keys · Its maker needs: Answer applications to join
Add players. Put a recruit on the roster from a SteamID64 and a name. Never makes an account or a member: they still join the site themselves.
Team and test keys · Its maker needs: Upload a roster file
OpensRemove players. Take a player off the roster by SteamID64. Never the Team Leader or a Team Rep.
Team and test keys · Its maker needs: Remove players
Matches. The team’s upcoming and recent matches. No server details: those are their own scope.
Team and test keys
Server join details. The server name, join code and notes (which can hold the password) of the team’s own match, until it has been played.
Team and test keys
Match files. The raw match file of the team’s matches that ran on a league server: every kill with Steam IDs, names, weapon and distance. The Team Leader, and anyone given the match file permission.
Team and test keys · Its maker needs: Download match files
Open slots. The team’s open slots, or every open slot in the league.
Team and test keys
OpensEvents feed. What happened to the team, in order: slots posted and joined, matches locked, changed and settled, new applications. Reads the same things as the other scopes, one list.
Team and test keys
OpensElo Rating. The team’s Elo Rating now and over time.
Team and test keys
OpensPublic league data. Standings, teams, public matches with their player stats, and players by Elo Rating (players are not rated).
Personal and test keys
- Personal keys never return a Steam ID or a Discord ID, and read only what the website shows to anyone.
- A team key returns Discord IDs and Steam IDs only with the two ID scopes. One other scope carries Steam IDs: matches.file, the raw file of your team’s own matches, every player in it.
- Discord names need the members.discord scope, on a key whose maker can see them, and are only for that team’s own members.
- A match server’s name, join code and notes (which can hold the password) are returned only with the matches.server_details scope, for your team’s own match, until it has been played. Personal keys never get them, and they are never in an event or a webhook. The key’s maker must hold one of the team’s match permissions.
Teams build rosters, bots and server whitelists on Discord and Steam IDs, so a team key can carry them. Personal identifiers. Anyone holding this key can read them. Keep it inside your team’s tools.
- members.discord_id adds each member’s Discord account ID (discordId) on /team/members, and each applicant’s on /team/applications. The key’s maker must be able to see the team’s private roster details, the same as for Discord names.
- members.steam_id adds each member’s SteamID64 (steamId) on /team/members, and on each player of /team/matches/{number}/players, the list a server uses to let people in before a match. Anyone who can manage the team’s API keys can tick it.
- Either one also ticks Members. Without the scope the field is not in the answer at all; with it, a person who has not linked that account reads null.
- An applicant’s Steam ID is never returned: they are not on the team yet. Mercenaries are not members and are not listed.
- If the maker can no longer tick the scope (they left the Leader role, or lost the permission), the key answers 403 scope_lost until someone who can rotates it.
- When someone other than the Team Leader makes or rotates a key with an ID scope, the Team Leader is told. Every key made or rotated is on the league’s audit log with its scopes.
- Everyone on a team reads on their account page: “Your team’s Leader, or someone they have trusted with API keys, can let tools read your Discord ID and your Steam ID.”
- A test key with these scopes gets invented IDs that can never be a real person’s: SteamID64s below the first real account and Discord IDs from before Discord launched.
