TheDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/devdavco/backend_1/llms.txt
Use this file to discover all available pages before exploring further.
GET /reserva/{id} endpoint looks up a single reservation by its primary key and returns the complete Reserva object. Use this endpoint when you need detailed information about one specific booking rather than scanning the full list. The service layer calls orElseThrow internally, so supplying an ID that does not exist in the database will result in a 500 error rather than a 404.
Path parameters
The integer primary key of the reservation to retrieve. Must correspond to an existing record in the
reservas table.Request
Response
Returns200 OK with a single Reserva object.
Response fields
Unique auto-generated identifier for the reservation.
ID of the user who made the booking.
ID of the coworking space that was reserved.
Start time of the reservation in
yyyy-MM-dd HH:mm format.The time the user’s session ends, in
yyyy-MM-dd HH:mm format.Absolute end of the reserved slot including the post-session cleaning buffer, in
yyyy-MM-dd HH:mm format.Current status of the reservation. One of
confirmada, pendiente, or cancelada.Optimistic-locking version counter managed by JPA’s
@Version annotation.