Get All Leaderboard Config
GET/leaderboard/v1/config/leaderboard
Get the leaderboard config for all leaderboards
Responses
- 200
- 403
Successful Response
- application/json
- Schema
- Example (from schema)
Schema
Array [
- MOD1
]
leaderboard_configs
object[]
required
List of leaderboard configs
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_configs": [
{
"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"
}