Get User Statistics
Get user statistics including total users, new users registered today, and top users. Requires authentication.
Endpoint
Authentication
Required
Query Parameters
None
Response
Success (200 OK)
Error Responses
Unauthorized (401)
Example Request
curl -X GET "https://api.luxmart.site/v1/accounts/user/statistics/" \
-H "Authorization: Token your_access_token"
Notes
- total_users: Total count of all non-deleted users
- new_users: Count of users registered today (from 00:00:00 to 23:59:59)
- top_users: Currently returns static value of 0 (placeholder for future implementation)
- This endpoint does not require pagination parameters
- All counts are calculated in real-time from the database