Retrieve Addon Stats
GET/api/v1/stats/addons
RESPONSE JSON
The API call will return with a JSON response as below.
{
"usergroup_id": 42,
"period": 24,
"data": {
"42": {
"REMOVE_BACKGROUND": 282,
"STORYBOARD": 882
},
"43": {
"REMOVE_BACKGROUND": 997
}
}
}
| key | Value | Description |
|---|---|---|
usergroup_id | integer | User group id |
period | integer | the period for which stats is returned. Defaults to 24 (hours) |
data | JSON | JSON with user_id as key. The list keys "42" and "43" are User IDs. |
data.{user_id} | string | Key-Value pairs with Addon ID as the key and usage count as the value. |
Request
Responses
- 200
- 401
- 403
- 500
Successful operation
Unauthorized - Invalid or missing authentication
Forbidden - Insufficient permissions
Internal server error