curl --request GET \
--url http://localhost:8080/cabinet/admin/users{
"users": [
{
"id": 123,
"full_name": "<string>",
"status": "<string>",
"balance_kopeks": 123,
"balance_rubles": 123,
"created_at": "2023-11-07T05:31:56Z",
"telegram_id": 123,
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"last_activity": "2023-11-07T05:31:56Z",
"has_subscription": false,
"subscription_status": "<string>",
"subscription_is_trial": false,
"subscription_end_date": "2023-11-07T05:31:56Z",
"promo_group_id": 123,
"promo_group_name": "<string>",
"total_spent_kopeks": 0,
"purchase_count": 0,
"has_restrictions": false,
"restriction_topup": false,
"restriction_subscription": false
}
],
"total": 123,
"offset": 0,
"limit": 50
}Get paginated list of users with filtering and sorting.
curl --request GET \
--url http://localhost:8080/cabinet/admin/users{
"users": [
{
"id": 123,
"full_name": "<string>",
"status": "<string>",
"balance_kopeks": 123,
"balance_rubles": 123,
"created_at": "2023-11-07T05:31:56Z",
"telegram_id": 123,
"username": "<string>",
"first_name": "<string>",
"last_name": "<string>",
"last_activity": "2023-11-07T05:31:56Z",
"has_subscription": false,
"subscription_status": "<string>",
"subscription_is_trial": false,
"subscription_end_date": "2023-11-07T05:31:56Z",
"promo_group_id": 123,
"promo_group_name": "<string>",
"total_spent_kopeks": 0,
"purchase_count": 0,
"has_restrictions": false,
"restriction_topup": false,
"restriction_subscription": false
}
],
"total": 123,
"offset": 0,
"limit": 50
}x >= 01 <= x <= 200255255User status enum.
active, blocked, deleted Sort options for users list.
created_at, balance, traffic, last_activity, total_spent, purchase_count