lists
Get rank range of the list
Get rank range of the list. Either from_top or from_bottom must be supplied
Required security scopes:
- api:read
get/lists/{list_id}/range
Request
- The document declares no server URL.
- AuthAPI key in header Authorization
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
list_idstring required
The ID of the list to apply the operation on. Can be a to z (both upper/lower case), 0 to 9 or one of these characters _-.
Query parameters
from_bottominteger
First result will be at this rank from the bottom of the list.
from_topinteger
First result will be at this rank from the top of the list.
limitinteger
Number of results to return
Response
OK
Example response
[
{
"from_bottom": 4000,
"from_top": 50,
"id": 100,
"list_id": "highscore-list",
"payload": {
"country": "dk",
"name": "Mark Anthony"
},
"score": 100,
"tie_breaker": 2000,
"updated_at": "1996-11-22T14:02:34Z"
},
{
"from_bottom": 4000,
"from_top": 50,
"id": 100,
"list_id": "highscore-list",
"payload": {
"country": "dk",
"name": "Mark Anthony"
},
"score": 100,
"tie_breaker": 2000,
"updated_at": "1996-11-22T14:02:34Z"
},
{
"from_bottom": 4000,
"from_top": 50,
"id": 100,
"list_id": "highscore-list",
"payload": {
"country": "dk",
"name": "Mark Anthony"
},
"score": 100,
"tie_breaker": 2000,
"updated_at": "1996-11-22T14:02:34Z"
}
]Changes
No recorded changes to this operation across all 1 revision of this API.