cURL
curl --request GET \ --url http://localhost:3091/v1/api/superadmin/dashboard/period \ --header 'Authorization: Bearer <token>'
{ "totalUsers": 123, "activeUsers": 123, "bannedUsers": 123, "newUsersThisMonth": 123, "newUsersLastMonth": 123, "userGrowthPercent": 123, "pendingKyc": 123, "approvedKyc": 123, "rejectedKyc": 123, "kycApprovalRate": 123, "totalReservations": 123, "pendingReservations": 123, "completedReservations": 123, "cancelledReservations": 123, "disputedReservations": 123, "totalAnnonces": 123, "activeAnnonces": 123, "expiredAnnonces": 123, "totalRevenue": 123, "totalCommissions": 123, "revenueThisMonth": 123, "revenueLastMonth": 123, "revenueGrowthPercent": 123, "pendingWithdrawals": 123, "totalWithdrawnAmount": 123, "pendingWithdrawalsCount": 123, "monthlyUsers": [ { "year": 123, "month": 123, "monthName": "<string>", "value": 123, "count": 123 } ], "monthlyRevenue": [ { "year": 123, "month": 123, "monthName": "<string>", "value": 123, "count": 123 } ], "monthlyReservations": [ { "year": 123, "month": 123, "monthName": "<string>", "value": 123, "count": 123 } ], "reservationsByStatus": {}, "usersByRole": {} }
JWT access token from POST /v1/api/auth/login
Period statistics retrieved
Show child attributes