Skip to main content
GET
/
reports
/
count
curl -X GET http://localhost:3000/reports/count
{
  "count": 42
}

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/4rt21/backend-proyecto/llms.txt

Use this file to discover all available pages before exploring further.

Query Parameters

status_id
string
Filter reports by status (optional)
  • "1" - Pendiente (Pending)
  • "2" - Aprobada (Approved)
  • "3" - Rechazada (Rejected)
If not provided, returns the total count of all reports regardless of status.

Response

count
number
The total number of reports matching the filter criteria
curl -X GET http://localhost:3000/reports/count
{
  "count": 42
}

Use Cases

This endpoint is useful for:
  • Dashboard statistics and metrics
  • Displaying report counts by status
  • Monitoring system usage and activity
  • Building admin analytics dashboards
  • Progress tracking for moderation workflows

Status Values

Status IDStatus NameDescription
1PendienteReports awaiting review
2AprobadaReports approved by moderators
3RechazadaReports rejected by moderators
This endpoint does not require authentication, making it suitable for public dashboard displays.

Build docs developers (and LLMs) love