Leaderboard
Leaderboard by Elo rating. Public method.
Elo leaderboard #
GET
/v1/leaderboardAccess: Public No authorization.
The 50 players with the highest Elo rating who have a name set. The scope parameter is echoed back but does not affect the selection at the moment.
Query parameters
| Name | Type | Required | Description |
|---|---|---|---|
scope | string | no | Table scope (does not affect the selection now) default "club" |
Example request
curl -X GET "https://your-server/api/v1/leaderboard?scope=club"Responses
| Code | detail | Meaning |
|---|---|---|
| 200 | — | Success; example below |
| 422 | […] | Parameter or body validation error: detail is a list of errors |
Example response
{
"scope": "club",
"items": [{"pos": 1, "name": "Ivan P.", "level": "A", "rating": 1912, "verified": true}]
}