curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/admin/leaderboards/configs \
--header 'x-api-token: <api-key>'{
"totalCount": 123,
"edges": [
{
"id": "<string>",
"organisationId": "<string>",
"name": "<string>",
"metricType": "total-xp",
"period": "daily",
"startsAt": "<string>",
"status": "archived",
"conditions": [
{
"type": "<string>",
"communityId": "<string>"
}
],
"rewardsConfig": [
{
"startRank": 2,
"endRank": 2,
"distributionEventId": "<string>"
}
],
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>",
"description": "<string>",
"expiresAt": "<string>"
}
]
}curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/admin/leaderboards/configs \
--header 'x-api-token: <api-key>'{
"totalCount": 123,
"edges": [
{
"id": "<string>",
"organisationId": "<string>",
"name": "<string>",
"metricType": "total-xp",
"period": "daily",
"startsAt": "<string>",
"status": "archived",
"conditions": [
{
"type": "<string>",
"communityId": "<string>"
}
],
"rewardsConfig": [
{
"startRank": 2,
"endRank": 2,
"distributionEventId": "<string>"
}
],
"createdAt": "<string>",
"updatedAt": "<string>",
"createdBy": "<string>",
"updatedBy": "<string>",
"description": "<string>",
"expiresAt": "<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 Was this page helpful?