The Courses API manages PlataformaEduca’s institution-wide course catalog. All four CRUD operations — list, create, update, and delete — are available to any authenticated user. No special role is required beyond a valid JWT; the API enforces no further authorization distinctions between staff, teachers, or administrators. Base URL: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.
/api/cursos
Auth: All endpoints require a Bearer token in the Authorization header.
- GET /api/cursos
- POST /api/cursos
- PUT /api/cursos/{id}
- DELETE /api/cursos/{id}
List all courses
Returns a JSON array of everyCurso record in the system.Response fields
Unique course ID, assigned by the database on creation.
Human-readable course name (e.g.
"Matemáticas").Short description of the course content.
Number of academic credit hours assigned to this course.
Whether the course is currently active. Defaults to
true on creation.Example
cURL
Response
Error codes
| Status | Meaning |
|---|---|
401 Unauthorized | The Authorization header is missing or the token is invalid. |
404 Not Found | No course exists with the given id. Applies to PUT and DELETE. |