Send aDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/Distribuidos-Org/ms-alumnos/llms.txt
Use this file to discover all available pages before exploring further.
find_one_alumno message to retrieve a single student record by its primary key. The controller extracts the id field from the payload using NestJS ParseIntPipe, then delegates to the service which queries by alumnoId. If no matching record exists, the service throws an RpcException with HTTP status 404.
Message pattern
Request payload
The numeric
alumnoId of the student to retrieve. Must be a positive integer.Response
The fullAlumno entity for the matching record.
Primary key of the student record.
First name of the student.
Paternal surname.
Maternal surname. May be
null if not provided at creation.National ID number (8 characters).
Age of the student. May be
null if not provided.Email address.
Phone number. May be
null if not provided.University name.
Faculty or school name. May be
null if not provided.Profession. May be
null if not provided.Academic degree. May be
null if not provided.Whether the student graduated locally.
The response includes a
contrasena field containing the bcrypt hash of the student’s password. Callers should discard or ignore this field; never display or forward the hash to end users.Example
Errors
| Status | Cause |
|---|---|
404 | No alumno exists with the given id. The exception payload is { "status": 404, "message": "Alumno #1 not found" } (where 1 is the requested ID). |
400 | The id field is missing or cannot be parsed as a valid integer by ParseIntPipe. |