Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Miguel-Rodriguez15/msvc/llms.txt

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

Looks up a single Usuario by its auto-generated numeric ID. If the record exists it is returned as a JSON object; if no user matches the given ID the endpoint returns an empty 404 Not Found response. A valid OAuth2 Bearer token with either the read or write scope is required. Base URL: http://localhost:8001
Gateway URL: http://localhost:8090/api/usuarios

Endpoint

GET http://localhost:8001/{id}

Request

Headers

HeaderValue
AuthorizationBearer <access_token>
Content-Typeapplication/json

Path Parameters

id
Long
required
The numeric primary key of the user to retrieve. Must be a positive integer.

Response

200 OK

Returns a single Usuario object.
id
number
Auto-generated primary key of the user.
nombre
string
The user’s display name.
email
string
The user’s unique email address.
password
string
The BCrypt-encoded password hash stored for the user.

404 Not Found

Returned when no user exists for the provided id. The response body is empty.

Example

Request

curl -X GET http://localhost:8001/1 \
  -H "Authorization: Bearer <access_token>"
Via the API Gateway:
curl -X GET http://localhost:8090/api/usuarios/1 \
  -H "Authorization: Bearer <access_token>"

200 Response

{
  "id": 1,
  "nombre": "Ana García",
  "email": "ana.garcia@example.com",
  "password": "$2a$10$Xv3k8qW2mN5pL9oJ1rT6uO7yZ4hB0cD3eF5gH8iJ2kM4nP6qR8sU"
}

404 Response

HTTP/1.1 404 Not Found
(empty body)

Build docs developers (and LLMs) love