curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/analytics/rewards/stats/allocations
{
"allocations": [
{
"id": "<string>",
"allocationType": "<string>",
"supply": 123,
"amountToDistribute": 123,
"distributed": 123,
"isShop": true,
"isLive": true,
"sourceName": "<string>",
"category": "<string>",
"primaryImageUrl": "<string>",
"eventDetails": {
"category": "<string>",
"subCategory": "<string>",
"sourceId": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"summary": {
"totalSupply": 123,
"totalDistributed": 123,
"allocationRate": 123,
"shopAllocations": 123,
"eventAllocations": 123,
"activeAllocations": 123,
"totalAllocations": 123
}
}
Get detailed allocation analytics for a specific reward including source information and distribution statistics
curl --request GET \
--url https://{subdomain}.nudj.cx/api/v2/analytics/rewards/stats/allocations
{
"allocations": [
{
"id": "<string>",
"allocationType": "<string>",
"supply": 123,
"amountToDistribute": 123,
"distributed": 123,
"isShop": true,
"isLive": true,
"sourceName": "<string>",
"category": "<string>",
"primaryImageUrl": "<string>",
"eventDetails": {
"category": "<string>",
"subCategory": "<string>",
"sourceId": "<string>"
},
"createdAt": "2023-11-07T05:31:56Z",
"updatedAt": "2023-11-07T05:31:56Z"
}
],
"summary": {
"totalSupply": 123,
"totalDistributed": 123,
"allocationRate": 123,
"shopAllocations": 123,
"eventAllocations": 123,
"activeAllocations": 123,
"totalAllocations": 123
}
}
Was this page helpful?