Holiday Courses - Student

Get Validation Exercises For Subchapitre

Returns all HolidayCourseExercises linked to the specified sub_chapitre_id, including their default status and the current student's attempt status (passed/failed/not_attempted) for each. Uses aggregation pipeline to prevent N+1 query memory leaks.

get/holiday-courses/subchapitres/{sub_chapitre_id}/validation-exercises

Path parameters

sub_chapitre_idstring required

Response

Successful Response

_idstring
titlestring nullable
contentstring required
solutionstring required
difficulty'easy' | 'medium' | 'hard' required
hints1string nullable
hints2string nullable
hints3string nullable
created_by_admin_idstring required
created_atstring date-time
updated_atstring date-time
link_idstring required
is_defaultboolean required
attempt_status'passed' | 'failed' nullable

Changes