Get Leaderboard Config
GET/leaderboard/v1/config/leaderboard/:leaderboard_id
Get the leaderboard config for a specific leaderboard
Request
Path Parameters
Responses
- 200
- 403
- 404
- 422
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
- MOD1
Possible values: non-empty and <= 128 characters
Unique ID for this leaderboard
Possible values: [GLOBAL, FRIENDS]
The player scope of this leaderboard
Possible values: <= 10000
The maximum size this leaderboard can reach
Possible values: [asc, desc]
The sorting type this leaderboard
Possible values: [INVENTORY, RANK]
The data source for this leaderboard
Unique Item or Rank ID for the data source of this leaderboard
Default value: true
Whether or not restricted accounts (eg banned) should be removed from this leaderboard
required_recent_login_days
object
How recently the account must have logged in to be included in the leaderboard
anyOf
integer
Possible values: >= 60
How frequently the data for this leaderboard should be requested
Whether or not the value of the stat that determines this leaderboard should be exposed when the leaderboard is queried
Default value: true
Whether or not individual player stats should be saved in the leaderboard, or if only the metadata can be returned
{
"leaderboard_id": "string",
"player_list": "GLOBAL",
"max_size": 0,
"sort_order": "asc",
"source": "INVENTORY",
"source_id": "string",
"remove_restricted": true,
"required_recent_login_days": 0,
"update_frequency_seconds": 0,
"expose_stat": false,
"expose_players": true
}
Forbidden
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Not Found
- application/json
- Schema
- Example (from schema)
Schema
Default value: true
{
"auth_success": true,
"error_code": "string",
"desc": "string"
}
Validation Error
- application/json
- Schema
- Example (from schema)
Schema
Array [
Array [
- MOD1
- MOD2
]
]
detail
object[]
loc
object[]
required
anyOf
string
integer
{
"detail": [
{
"loc": [
"string",
0
],
"msg": "string",
"type": "string"
}
]
}