Admin - Holiday Courses

Create Holiday Exercise

Create a new holiday course exercise.

This endpoint allows admins to create standalone exercises that can later be linked to SubChapitres through the exercise linking system.

Only accessible by admin users.

post/admin/holiday-courses/exercises

Request body

titlestring nullable
contentstring required
solutionstring required
difficulty'easy' | 'medium' | 'hard' required
hints1string nullable
hints2string nullable
hints3string nullable

Response

Successful Response

idstring required
titlestring nullable
contentstring required
solutionstring required
difficultystring required
hints1string nullable
hints2string nullable
hints3string nullable
created_by_admin_idstring required
created_atstring date-time required
updated_atstring date-time required

Changes

No recorded changes to this endpoint across all 1 revision of this API.