Gets invites.
GET
/v1/invitesGets all invites for a ladder or tournament.
Request
Query Params
ladderId
array[integer]
optional
Get all invites for the ladder with this id.
tournamentId
array[integer]
optional
Get all invites for the tournament with this id. Currently unused.
Request samples
Responses
OK(200)
Bad request(400)
Unauthorized(401)
Too Many Requests(429)
HTTP Code: 200
Content Type : JSONapplication/json
Data Schema
array of:
code
string
required
References an invite and forms an invite link for use through the Competier App.
Example:
HHLCdISYcyU=
ladderId
integer
optional
Which ladder this invites to.
Example:
0
tournamentId
integer
optional
Which tournament this invites to.
Example:
0
uses
integer
optional
How many uses are left for this invite (if it's use-limited).
Example:
100
teamLadderEntryId
integer
optional
Which ladder-entry id this invites to. This allows for "team invites" where all accounts accepting the same invite act as a single ladder-entry in a competition. This is useful if you intend to rate a team constellation as a whole, instead of each player by themselves.
Example
Not configured
Last modified: 9 months ago