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}

Request

  • Base URL: https://api.excellence-ai.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.excellence-ai.com/admin/holiday-courses/exercises/{exercise_id}
  • Auth: OAuth 2 (password, token URL api/login)

Path parameters

exercise_idstring required

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 operation changes recorded.