curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/admin/leaderboards/configs \
--header 'x-api-token: <api-key>'{
"totalCount": 123,
"edges": [
{
"name": "<string>",
"metricType": "total-xp",
"startsAt": "<string>",
"status": "archived",
"period": "daily",
"conditions": [],
"id": "<string>",
"organisationId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"description": "<string>",
"expiresAt": "<string>",
"rewardsConfig": [
{
"startRank": 123,
"endRank": 123,
"distributionEventId": "<string>"
}
]
}
]
}curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/admin/leaderboards/configs \
--header 'x-api-token: <api-key>'{
"totalCount": 123,
"edges": [
{
"name": "<string>",
"metricType": "total-xp",
"startsAt": "<string>",
"status": "archived",
"period": "daily",
"conditions": [],
"id": "<string>",
"organisationId": "<string>",
"createdAt": "<string>",
"updatedAt": "<string>",
"description": "<string>",
"expiresAt": "<string>",
"rewardsConfig": [
{
"startRank": 123,
"endRank": 123,
"distributionEventId": "<string>"
}
]
}
]
}The language to return the leaderboards in. If not provided, the default language for the organisation will be used.
1 <= x <= 100x >= 0archived, draft, expired, live, scheduled Successful response
Show child attributes
1The type of metric to track in the leaderboard
total-xp, total-challenges-completed, total-challenges-started, total-actions-completed archived, draft, expired, live, scheduled daily, weekly, monthly, yearly, open Was this page helpful?