win.tomo-x.rogaining.getRanking
Get the leaderboard of an event. Total points are the sum of approved non-goal checkpoint points (each checkpoint counts once per team) and a finish-time bonus of 30, 20, 10, 5, 3, 2, or 1 points for the first through seventh finish positions. Goal finish time is the server indexedAt timestamp; tied finishers share points. Teams without a goal submission receive no finish-time bonus.
Details · query
| Kind | query |
|---|---|
| Authority | rogaining.tomo-x.win |
| Indexed |
Checks
Valid Lint pass{
"$type": "com.atproto.lexicon.schema",
"defs": {
"main": {
"description": "Get the leaderboard of an event. Total points are the sum of approved non-goal checkpoint points (each checkpoint counts once per team) and a finish-time bonus of 30, 20, 10, 5, 3, 2, or 1 points for the first through seventh finish positions. Goal finish time is the server indexedAt timestamp; tied finishers share points. Teams without a goal submission receive no finish-time bonus.",
"errors": [
{
"name": "EventNotFound"
}
],
"output": {
"encoding": "application/json",
"schema": {
"properties": {
"ranking": {
"items": {
"ref": "win.tomo-x.rogaining.defs#rankingEntry",
"type": "ref"
},
"type": "array"
}
},
"required": [
"ranking"
],
"type": "object"
}
},
"parameters": {
"properties": {
"event": {
"format": "at-uri",
"type": "string"
}
},
"required": [
"event"
],
"type": "params"
},
"type": "query"
}
},
"id": "win.tomo-x.rogaining.getRanking",
"lexicon": 1
}