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.
AsignacionDocente is the central scheduling entity in PlataformaEduca. Every downstream operation — a teacher viewing their courses, creating an evaluation, or recording a student’s grade — traces back to an AsignacionDocente record. Understanding how it is created and used is essential before working with the teacher or student-facing endpoints.
What an assignment links together
A singleAsignacionDocente record binds four entities into one scheduling unit:
| Entity | Role in the assignment |
|---|---|
Docente | The teacher responsible for the course |
Curso | The subject being taught |
Aula | The physical classroom where sessions take place |
Periodo | The academic period (e.g. semester or trimester) |
Prerequisites before creating an assignment
All four referenced entities must exist in the database before you can create anAsignacionDocente. Work through this checklist in order:
Register a Docente user
Call
POST /api/auth/register with role DOCENTE. This creates both the Usuario account and the Docente profile record. Note the Docente profile ID returned — you will use it in the assignment body.Ensure a Curso exists
Call
POST /api/cursos to create a course if one does not already exist, or GET /api/cursos to find an existing one. Note the Curso ID.Confirm a classroom is available
Call
GET /api/coordinador/aulas to list classrooms. Note the Aula ID of the room you want to assign.Scheduling workflow
The following end-to-end example shows the full lifecycle from coordinator login to a teacher recording a grade.Create the assignment
AsignacionDocente record with its generated id. Share or record this ID — the teacher will need it.Teacher views their course load
AsignacionDocente records where the authenticated teacher is the assigned Docente.Retrieving assignment statistics
Once a teacher has created evaluations for an assignment, use the statistics endpoint to get a summary:totalEvaluaciones — the count of evaluations created for that assignment. Use this to verify that all expected assessments have been recorded before a grading period closes.
Students’ course lists are derived from the
AsignacionDocente records that link their enrolled Grado and Curso combinations. Students do not have a separate enrollment step; course visibility is a product of the scheduling data.