Skip to main content
GET
/
users
/
post-info
curl -X GET http://localhost:3000/users/post-info \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "pendiente": 1,
  "aprobada": 3,
  "rechazada": 0,
  "total": 4,
  "protegidas": 5
}

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.

Authentication

This endpoint requires a valid JWT Bearer token.
Authorization
string
required
Bearer token for authenticationFormat: Bearer <your_access_token>

Response

pendiente
number
Number of pending reports created by the user
aprobada
number
Number of approved reports created by the user
rechazada
number
Number of rejected reports created by the user
total
number
Total number of reports created by the user
protegidas
number
Total number of people protected by the user’s reports (based on upvotes)
curl -X GET http://localhost:3000/users/post-info \
  -H "Authorization: Bearer YOUR_ACCESS_TOKEN"
{
  "pendiente": 1,
  "aprobada": 3,
  "rechazada": 0,
  "total": 4,
  "protegidas": 5
}

Use Cases

This endpoint is useful for:
  • Displaying user statistics in a profile dashboard
  • Showing the user’s impact (people protected)
  • Tracking report submission activity
  • Gamification features based on approved reports

Build docs developers (and LLMs) love