Academic periods group schedule entries into named semesters, quarters, or any other time unit relevant to your institution. Every schedule entry must reference an existing period. The periodos endpoints live on the same horarios service instance. Base URL:Documentation Index
Fetch the complete documentation index at: https://mintlify.com/Luisanchez0/modulo_Horario/llms.txt
Use this file to discover all available pages before exploring further.
http://localhost:8004
GET /periodos
Returns all academic periods. No authentication required.Response
An array of period objects.Auto-assigned or explicitly provided primary key.
Human-readable name, e.g.
"Semestre 2025-A".Period type, e.g.
"SEMESTRAL", "CUATRIMESTRAL".Start date as a string (format as stored, e.g.
"2025-01-15").End date as a string.
GET /periodos/
Returns a single academic period by ID. No authentication required.Path parameters
ID of the period to retrieve.
Response
- 200 — success
- 404 — not found
A single period object with the same shape as the list response.
POST /periodos
Creates a new academic period. RequiresADMIN role.
Headers
Bearer <token> — must decode to rol: ADMIN.Request body
Display name of the period.
Category or type of period (free-form string, e.g.
"SEMESTRAL").Start date.
End date.
Optional explicit primary key. Returns
409 if the ID is already taken.Response
- 201 — created
- 400 — validation error
- 403 — forbidden
- 409 — duplicate id
The created period object.
DELETE /periodos/
Deletes an academic period. The operation is blocked if any schedule entries still reference the period. RequiresADMIN role.
Path parameters
ID of the period to delete.
Headers
Bearer <token> — must decode to rol: ADMIN.Response
- 204 — deleted
- 404 — not found
- 409 — has dependent schedules
Empty response body.