Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/CristianRR94/springCommunity/llms.txt

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

The List Users endpoint returns every registered user in the Spring Community platform as a JSON array. Because the response is shaped by UsuarioSalidaDTO, sensitive data such as password hashes, roles, and tokens are stripped before the array is returned — only the public-facing nombre and email fields are included. Use this endpoint to populate user directories, admin dashboards, or any view that requires a full enumeration of accounts.

Endpoint

GET /api/usuarios
Access: Public — no authentication token is required.

Request parameters

This endpoint accepts no path parameters, query parameters, or request body.

Response

Returns a JSON array of UsuarioSalidaDTO objects. An empty array ([]) is returned when no users exist.
nombre
string
The user’s chosen username. Between 6 and 20 characters.
email
string
The user’s registered email address. Unique across all accounts.

Example response

[
  {
    "nombre": "alice99",
    "email": "alice@example.com"
  },
  {
    "nombre": "bobsmith",
    "email": "bob@example.com"
  },
  {
    "nombre": "carlos22",
    "email": "carlos@example.com"
  }
]

Example request

curl -X GET https://api.springcommunity.example/api/usuarios \
  -H "Accept: application/json"

Passwords and tokens are never included in the response. The API returns only nombre and email — all other fields on the internal Usuario entity (password hash, role, JWT tokens, and associated participant profile) are excluded by the UsuarioSalidaDTO projection.

Build docs developers (and LLMs) love