Admin - Holiday Courses

Update Holiday Exercise

Update a holiday course exercise.

Allows updating any combination of title, content, solution, and difficulty. Updates the updated_at timestamp and optionally tracks the last editor.

Only accessible by admin users.

put/admin/holiday-courses/exercises/{exercise_id}

Path parameters

exercise_idstring required

The ID of the holiday course exercise to update

The ID of the holiday course exercise to update

Request body

titlestring nullable
contentstring nullable
solutionstring nullable
difficulty'easy' | 'medium' | 'hard' nullable
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.