Fetch Top N Players

get
Fetch Top N Players

https://leaderboard-example.lvis.io/base_url/ranks/top
Request
Response
Request
Path Parameters
base_url
required
string
Base leaderboard URL for read endpoint. See Overview section for details.
Query Parameters
n
required
integer
Number of top entries to return, max 50.
Response
200: OK
[
{
"name": "User 2347852",
"public_id": "e2e922bf0207e1fac7d88d4e5ec0def2",
"score": 937,
"rank": 1,
"level": null,
"public_data": null
},
{
"name": "User 1747384",
"public_id": "48625a87e31f2bc8b8b4e6d245c1f7c2",
"score": 614,
"rank": 2,
"level": null,
"public_data": null
},
{
"name": "User 4345455",
"public_id": "4b0271c7899682205240d50ca37e3277",
"score": 341,
"rank": 3,
"level": null,
"public_data": null
}
]
404: Not Found
{
"error": "error text"
}

Example

curl --request GET \
--url https://leaderboard-example.lvis.io/api/projects/edc619ed-32f3-4dcc-a2e6-1d213fbaf6a0/leaderboards/season/ranks/top?n=3