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 event detail endpoint returns the complete EventoDTO representation of a single event. Unlike the listing endpoints, which return lightweight EventoPrincipalDTO summaries, this response includes all editable metadata fields as well as the full lists of participant IDs and administrator IDs associated with the event. Use this endpoint whenever you need to render an event detail view or pre-populate an edit form.

Endpoint

GET /api/eventos/{id}
Requires a valid JWT access token sent in the Authorization header.

Path Parameters

id
integer
required
The event’s unique numeric database ID. This value is returned as id in every listing or creation response.

Response

Returns a single EventoDTO JSON object.
id
Long
required
The event’s unique numeric identifier.
nombreEvento
string
required
The display name of the event. Never blank; maximum 255 characters.
tipoEvento
string
An optional type or category label for the event. Maximum 255 characters. null if not set.
fechaEvento
string
The scheduled date of the event in ISO 8601 format (YYYY-MM-DD). null if no date was provided.
informacion
string
A free-text description or additional information about the event. null if not set.
chat
string
A chat identifier or thread reference associated with the event. null if not set.
imagenEvento
string
The server-side filename of the event’s banner image. null if no image was uploaded.
privado
boolean
required
When true, the event is marked as private and should not be displayed in public listings.
oculto
boolean
required
When true, the event is hidden entirely from all views except for its direct participants.
maxNumParticipantes
integer
required
The maximum number of participants allowed. Range: 0255. The default is 255.
participantesEvento
array of Long
required
A list of participant IDs (database primary keys) that are enrolled in this event.
administradores
array of Long
required
A list of participant IDs that have administrator privileges over this event. Every administrator is also present in participantesEvento.

Response Example

{
  "id": 1,
  "nombreEvento": "Spring Boot Community Meetup",
  "tipoEvento": "meetup",
  "fechaEvento": "2025-09-20",
  "informacion": "Monthly gathering for Spring Boot developers. All levels welcome.",
  "chat": null,
  "imagenEvento": "meetup-banner.png",
  "privado": false,
  "oculto": false,
  "maxNumParticipantes": 50,
  "participantesEvento": [3, 7, 12, 19],
  "administradores": [3]
}

Error Responses

StatusDescription
401 UnauthorizedThe Authorization header is missing, the token has expired, or the token signature is invalid.
404 Not FoundNo event exists with the supplied id.

404 Example

{
  "status": 404,
  "mensaje": "Evento no encontrado",
  "timestamp": 1718467200000
}

curl Example

curl --request GET \
  --url http://localhost:8080/api/eventos/1 \
  --header 'Authorization: Bearer <your_access_token>'

Build docs developers (and LLMs) love