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

  • 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
  • Auth: OAuth 2 (password, token URL api/login)

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