Cole separates student management into two groups of endpoints. Director endpoints allow school administrators to create, read, update, and delete student profiles. Student portal endpoints are accessible only by the authenticated student themselves, providing a self-service view of their schedule, enrolled subjects, pending agenda tasks, and library resources. All requests require a validDocumentation Index
Fetch the complete documentation index at: https://mintlify.com/iamalexis689725/cole/llms.txt
Use this file to discover all available pages before exploring further.
Bearer token. Director endpoints require the role:director middleware; student portal endpoints require both role:estudiante and the module:estudiantes middleware, which enforces that the student module is enabled for the tenant.
Estudiantes (Director)
List Students
Requires
role:director.Create Student
Requires
role:director.estudiante role, and creates the linked student profile. The codigo_estudiante must be unique within the tenant.
Request Body
Full name of the student, e.g.
"María García".Unique email address for the student’s login account. Must not already exist
in the
users table across any tenant.Initial login password. Minimum 6 characters. Stored as a bcrypt hash.
Unique student code within the tenant, e.g.
"EST-001". The same code may
appear in different schools (tenants) but must be unique within a single
tenant.201 Created
Human-readable confirmation message.
| Status | Condition |
|---|---|
422 Unprocessable Entity | Validation failed (e.g. duplicate email or codigo_estudiante within the tenant). |
Get Student
Requires
role:director.The ID of the student.
Update Student
Requires
role:director.The ID of the student to update.
Updated full name.
Updated email. Must be unique in
users, excluding the current user’s own
record.New password. Minimum 6 characters. Leave blank to retain the existing
password.
Updated student code. Must remain unique within the tenant.
200 OK
Delete Student
Requires
role:director.The ID of the student to delete.
200 OK
Student Portal
The following endpoints are designed for students accessing their own data. The authenticated user must have theestudiante role and the tenant must have the estudiantes module enabled. The student record is resolved automatically from the authenticated user — no student ID is passed in the URL.
Get Pending Agenda Tasks
Requires
role:estudiante and module:estudiantes.Get Library Resources
Requires
role:estudiante and module:estudiantes.List Enrolled Subjects
Requires
role:estudiante and module:estudiantes.Get Subject Detail
Requires
role:estudiante and module:estudiantes.The ID of the asignación docente the student wants to inspect.
Get Student Schedule
Requires
role:estudiante and module:estudiantes.HH:MM. Days are returned in lowercase Spanish.
Example Request
The ID of the asignación docente this slot belongs to.
Day name in lowercase Spanish, e.g.
"lunes", "martes".Start time trimmed to
HH:MM format.End time trimmed to
HH:MM format.Name of the subject for this slot.
Full name of the teacher delivering this class.
Get Task Detail
Requires
role:estudiante and module:estudiantes.The ID of the agenda item (task) to retrieve.