curl --request GET \
--url https://api.example.com/stats/overview \
--header 'X-API-Key: <api-key>'{
"users": {
"total": 12345,
"active": 9876,
"blocked": 321,
"balance_kopeks": 1234567,
"balance_rubles": 12345.67
},
"subscriptions": {
"active": 4321,
"expired": 210
},
"support": {
"open_tickets": 42
},
"payments": {
"today_kopeks": 654321,
"today_rubles": 6543.21
}
}Получение общей сводной статистики системы.
curl --request GET \
--url https://api.example.com/stats/overview \
--header 'X-API-Key: <api-key>'{
"users": {
"total": 12345,
"active": 9876,
"blocked": 321,
"balance_kopeks": 1234567,
"balance_rubles": 12345.67
},
"subscriptions": {
"active": 4321,
"expired": 210
},
"support": {
"open_tickets": 42
},
"payments": {
"today_kopeks": 654321,
"today_rubles": 6543.21
}
}Агрегированные показатели пользователей, подписок, саппорта и платежей
The response is of type Response Stats Overview Stats Overview Get · object.