Skip to main content

Documentation Index

Fetch the complete documentation index at: https://mintlify.com/Taykl12/Classify/llms.txt

Use this file to discover all available pages before exploring further.

The list endpoint returns a lightweight summary of every project the authenticated user can access. A user appears in results as the registered owner (via proyecto_profesor), as an enrolled member (via grupo_estudiante), or as an assigned professor (via proyecto_profesor_asignado). Projects where the user has none of these roles are excluded entirely. Use the detail endpoint to fetch the full configuration of any specific project.

Endpoint

GET /api/projects

Request

No request body or query parameters are required. The caller’s identity is resolved from the bearer token.

Headers

HeaderValue
AuthorizationBearer <token>

Example

curl -X GET https://your-domain.com/api/projects \
  -H "Authorization: Bearer <token>"

Response

Returns 200 OK with a JSON array of project list items. The array is empty when the user belongs to no projects.

Response Fields

[].id
string
required
Unique identifier for the project, derived from id_grupo cast to string.
[].name
string
required
Human-readable project name (nombre_proyecto).
[].description
string
required
Short description of the project. Empty string ("") when no description has been set.
[].status
"Abierto" | "Cerrado"
required
Current lifecycle state of the project. "Abierto" means the project is active and accepting work; "Cerrado" means it has been concluded.
[].isFavorite
boolean
required
Whether the authenticated user has marked this project as a favorite. Favorites appear in the dashboard carousel.
[].createdAt
string
required
Creation date formatted as DD/MM/YYYY (e.g. "01/09/2024"), derived from fecha_creacion.
[].scopeNotes
string
required
Supplementary scope notes (notas_alcance). Empty string ("") when not set.
[].preprojectValidated
boolean
required
Whether the pre-project document has been validated by the assigned professor (anteproyecto_validado).

Example Response

[
  {
    "id": "42",
    "name": "AI Grading System",
    "description": "Automated rubric evaluation using NLP",
    "scopeNotes": "",
    "status": "Abierto",
    "isFavorite": true,
    "createdAt": "01/09/2024",
    "preprojectValidated": false
  },
  {
    "id": "17",
    "name": "Campus Event Portal",
    "description": "",
    "scopeNotes": "",
    "status": "Cerrado",
    "isFavorite": false,
    "createdAt": "15/03/2024",
    "preprojectValidated": false
  }
]

Error Responses

StatusDescription
401 UnauthorizedMissing or invalid bearer token.

Build docs developers (and LLMs) love