Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/miagv/PlataformaEduca/llms.txt

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

The Grades (Notas) API records individual student scores against specific evaluations. Any authenticated user can both read and write grade data through this endpoint. For role-scoped grade recording — where only the assigned teacher may post grades — use the /api/docente/notas endpoint instead. Base URL: /api/notas Auth: All endpoints require a Bearer token in the Authorization header.
Evaluacion vs. Nota — these are two distinct entities in PlataformaEduca’s grading model. An Evaluacion is the assessment itself: it defines a title, a percentage weight within the course, a date, and which course and teacher assignment it belongs to. A Nota is a student’s score on that assessment: it records the numeric grade and an optional teacher comment, linking one Evaluacion to one Estudiante. In short, one Evaluacion can have many Nota records — one per enrolled student.

List all grades

Returns every Nota record in the system. No filtering is applied; use GET /api/notas/estudiante/{id} to scope results to a single student.

Response fields

id
integer
Unique grade record ID.
nota
number
The numeric score (e.g. 18.5).
observacion
string
Optional teacher comment recorded alongside the grade.
evaluacion
object
The linked assessment. Contains the following properties:
estudiante
object
The student who received this grade. Contains the following properties:

Example

cURL
curl --request GET \
  --url http://localhost:8080/api/notas \
  --header 'Authorization: Bearer <your-token>'
Response
[
  {
    "id": 1,
    "nota": 18.5,
    "observacion": "Excelente desempeño",
    "evaluacion": {
      "id": 1,
      "titulo": "Examen Parcial",
      "porcentaje": 30,
      "fecha": "2026-05-10",
      "curso": { "id": 1, "nombre": "Matemáticas" },
      "asignacionDocente": { "id": 2 }
    },
    "estudiante": {
      "id": 1,
      "codigo": "EST-001",
      "usuario": { "id": 5, "nombre": "Ana García" },
      "grado": { "id": 3, "nombre": "3° Secundaria" }
    }
  }
]

Error codes

StatusMeaning
401 UnauthorizedThe Authorization header is missing or the token is invalid.
Hibernate constraint errorevaluacion.id or estudiante.id does not reference an existing record. Ensure both entities exist before posting a grade.

Build docs developers (and LLMs) love