curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/analytics/achievements/stats/overview \
--header 'x-api-token: <api-key>'{
"summary": {
"totalParticipants": 123,
"totalCompletions": 123,
"completionRate": 123,
"averageTimeToCompleteHours": 123,
"startedNotCompleted": 123,
"totalClaimed": 123
},
"criteriaCompletionRates": [
{
"criteriaId": "<string>",
"criteriaAlias": "<string>",
"completionRate": 123,
"totalCompletions": 123
}
],
"timeseries": [
{
"date": "2023-11-07T05:31:56Z",
"value": 0,
"started": 0,
"completed": 0,
"claimed": 0
}
]
}Returns overview stats and time series for an achievement
curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/analytics/achievements/stats/overview \
--header 'x-api-token: <api-key>'{
"summary": {
"totalParticipants": 123,
"totalCompletions": 123,
"completionRate": 123,
"averageTimeToCompleteHours": 123,
"startedNotCompleted": 123,
"totalClaimed": 123
},
"criteriaCompletionRates": [
{
"criteriaId": "<string>",
"criteriaAlias": "<string>",
"completionRate": 123,
"totalCompletions": 123
}
],
"timeseries": [
{
"date": "2023-11-07T05:31:56Z",
"value": 0,
"started": 0,
"completed": 0,
"claimed": 0
}
]
}Successful response
Was this page helpful?