Public API
Public API endpoints for the Gamify Extension
Returns limit records (defaults to 10). May additionally include specified user records even if they are outside of the range.
ID of the Project
Comma-separated list of user IDs
Maximum number of records to return
10success
Invalid request
GET /projects/{projectId}/leaderboards/{leaderboardId} HTTP/1.1
Host:
Accept: */*
{
"data": [
{
"rank": 1,
"score": 1000,
"userId": "123e4567-e89b-12d3-a456-426614174000",
"publicProfile": {
"username": "Joe"
}
}
],
"totalCount": 1
}ID of the Project
User Id
success
Invalid request
GET /projects/{projectId}/leaderboards/{leaderboardId}/users/{userId} HTTP/1.1
Host:
Accept: */*
{
"data": {
"rank": 1,
"score": 1000,
"userId": "123e4567-e89b-12d3-a456-426614174000",
"publicProfile": {
"username": "Joe"
}
}
}Returns limit records (defaults to 10). May additionally include specified user records even if they are outside of the range.
ID of the Project
ID of the Event
N is positive integer value for a round number. For example round_2
Comma-separated list of user IDs
Maximum number of records to return
10success
Invalid request
GET /projects/{projectId}/events/{eventId}/leaderboards/{leaderboardId} HTTP/1.1
Host:
Accept: */*
{
"data": [
{
"rank": 1,
"score": 1000,
"userId": "123e4567-e89b-12d3-a456-426614174000",
"publicProfile": {
"username": "Joe"
}
}
],
"totalCount": 1
}ID of the Project
ID of the Event
N is positive integer value for a round number. For example round_2
User Id
success
Invalid request
GET /projects/{projectId}/events/{eventId}/leaderboards/{leaderboardId}/users/{userId} HTTP/1.1
Host:
Accept: */*
{
"data": {
"rank": 1,
"score": 1000,
"userId": "123e4567-e89b-12d3-a456-426614174000",
"publicProfile": {
"username": "Joe"
}
}
}Last updated

