In Mi Cole, courses (Documentation Index
Fetch the complete documentation index at: https://mintlify.com/andrespaul123/micole-flutter/llms.txt
Use this file to discover all available pages before exploring further.
Curso) represent grade levels or year groups—for example Primero de Bachillerato or Séptimo de Básica. Each course is associated with an academic period and can be divided into one or more sections (Paralelo), such as Paralelo A, Paralelo B, or Vespertino. This two-level hierarchy lets a school manage multiple classrooms within the same grade, each with its own teacher assignments and timetable.
Curso Model
Unique identifier for the course.
Display name, e.g.
"Primero de Bachillerato".Education level tag, e.g.
"Bachillerato" or "Básica".Optional free-text description of the course.
Whether the course is currently active. Parsed from integer
1/0 or boolean.Tenant-scoping identifier, populated server-side.
CursoRepository
Courses are scoped to an academic period. All endpoints include theperiodoId in the path.
| Method | Endpoint | Description |
|---|---|---|
getCursos(periodoId) | GET /api/periodos/:id/cursos | List courses for an academic period |
createCurso(...) | POST /api/periodos/:id/cursos | Create a course within an academic period |
deleteCurso(periodoId, id) | DELETE /api/periodos/:id/cursos/:cursoId | Delete a course |
Paralelo Model
AParalelo (section) belongs to a Curso and optionally embeds the full Curso object when returned from the API.
Unique identifier for the section.
Foreign key referencing the parent
Curso.Section label, e.g.
"A", "B", or "Matutino".Shift descriptor such as
"Matutino" or "Vespertino".Maximum number of students the section can hold.
Tenant-scoping identifier, populated server-side.
Embedded
Curso object when the section is returned with course details included.ParaleloRepository
- List All Sections
- List by Course & Period
- Create Section
- Delete Section
Retrieves every section across all courses for the tenant.Endpoint:
GET /api/paralelosSchedule Assignment
Each section (Paralelo) can be assigned a timetable. Directors navigate to the section’s schedule screen to view and manage the weekly time blocks.
Endpoint: GET /api/asignacion-horario (for a paralelo)
The HorarioCursoScreen is reached from the section list. It receives both cursoId and paraleloId as route parameters:
App Routes
/cursos
List all courses for the active period (
CursoListScreen)./cursos/create
Create a new course (
CursoCreateScreen)./cursos/:cursoId/paralelos
List sections for a specific course (
ParaleloListScreen)./cursos/:cursoId/paralelos/create
Create a new section within a course (
ParaleloCreateScreen)./cursos/:cursoId/paralelos/:paraleloId/horario
View and assign the timetable for a section (
HorarioCursoScreen).