Overview
These endpoints provide access to student academic records (expedientes). There are two variants: one for professor view with complete data, and one for student view with limited fields.Get Complete Student Record (Professor View)
Student’s email address
cURL
Response Structure
Returns an object containing all forum responses and exam submissions for the specified student.Response Example
Admin Account Response
When requesting data for[email protected], all fields return null:
Get Student Record (Student View)
Student’s email address
cURL
Response Structure
Returns a limited view of student records with only specific fields (typicallyr2 or r5 fields).
This endpoint returns limited data suitable for student self-view:
- Forums 1-4, 6: Returns only
r2field - Forum 5: Returns only
r5field - Exams 1-2: Returns only
r2field - No image data conversion is performed
Response Example
Image Data Conversion
Theconvertir_bytes function (lines 395-408) automatically processes binary data:
- Converts
memoryviewand binary data to base64 - Fields containing “imagen” are formatted as data URLs
- Applied to all forum responses (foro1-6) in professor view
- Not applied in student view endpoint
Error Responses
Database connection error