Endpoints
Method Path Auth Required GET /api/dashboard/infoADMIN only
GET /api/dashboard/info
Returns a snapshot of platform-wide statistics including aggregate counts and detailed object lists for users, events, categories, and reports.
Auth: Bearer token required. Role: ADMIN only.
This endpoint is restricted to the ADMIN role. Any request from a non-admin authenticated user will receive 403 Forbidden.
Response Fields
Indicates whether the request was successful.
HTTP status code of the response.
Human-readable message describing the result.
The dashboard statistics object. Total number of registered users on the platform.
Total number of events on the platform.
Total number of attendance records across all events.
Total number of comments across all events.
List of user summary objects. Unique identifier of the user.
Email address of the user.
List of roles assigned to the user (e.g. USER, ADMIN, ORGANIZER).
List of event summary objects. Unique identifier of the event.
Description of the event.
Number of attendance records for this event.
Number of comments on this event.
Timestamp when the event was published.
List of category summary objects. Unique identifier of the category.
Description of the category.
Timestamp when the category was created.
List of report summary objects. Unique identifier of the report.
Display name of the user who filed the report.
Display name of the reported organizer.
Reason stated in the report.
Timestamp when the report was filed.
Example
curl -X GET "https://api.meetpoint.com/api/dashboard/info" \
-H "Authorization: Bearer <admin-token>"
Example Response
{
"status" : true ,
"statusCode" : 200 ,
"message" : "Dashboard info retrieved successfully." ,
"data" : {
"usersCount" : 120 ,
"eventsCount" : 45 ,
"attendancesCount" : 310 ,
"commentsCount" : 87 ,
"users" : [
{
"id" : "user-id-string" ,
"fullName" : "Jane Doe" ,
"email" : "jane@example.com" ,
"roles" : [ "USER" ]
}
],
"events" : [
{
"id" : "3fa85f64-5717-4562-b3fc-2c963f66afa6" ,
"title" : "Jazz Night" ,
"description" : "An evening of live jazz music." ,
"attendancesCount" : 25 ,
"commentsCount" : 8 ,
"publicationDate" : "2026-03-01T18:00:00Z"
}
],
"categories" : [
{
"id" : "a1b2c3d4-1234-5678-abcd-ef1234567890" ,
"name" : "Music" ,
"description" : "Events related to music and concerts" ,
"createdDate" : "2026-01-15T10:00:00Z"
}
],
"reports" : [
{
"id" : "b2c3d4e5-2345-6789-bcde-f12345678901" ,
"reporterName" : "John Smith" ,
"organizerName" : "Bad Organizer" ,
"reason" : "This organizer cancelled the event without notice." ,
"reportDate" : "2026-03-10T14:30:00Z"
}
]
}
}