Suggestion:
"players": [
{
"username": username,
"board": url of board,
"timeout": timeout percentage
}
Please add timeout % details in there... so admins for Leagues could directly check those without having to check the whole list of members.
This Request For Comments covers a new set of endpoints to provide information about team matches, and lists of matches particpated in by player and by club.
Matches will be referenced by their internal numeric ID. This ID is guaranteed unique and unchanging, but our internal IDs may change format in the future and so a new ID may be provided at that time. For this reason it advisable to always access the match endpoint first by retrieving the URL from list of player's matches or club's matches endpoint.
/pub/match/{id}
This is the data representation of the match itself. The data returned for players changes depending on the status of the match.
If the match is in its registration phase:
In others phases of match (in progress, finished, closed):
/pub/match/{id}/{board}
This is the data representation of a single board in a match. Only in-progress or finished games will be included, so there may be one or two games in this list.
/pub/player/{username}/matches
This is the list of player's matches, divided by "finished", "in_progress" and "registered":
/pub/club/{url}/matches
This is the data representation of a clubs's matches, divided by "finished", "in_progress" and "registered":
Does this endpoint get you what's needed for your goals, tools, and services? Are there related data we missed that are essential? If possible, please include specific examples of how you intend to use the data, especially if you request that we change this output in some way.