Admin - Holiday Courses

Create Course Content From Urls For Sub Chapitre

Create course content for a holiday course sub-chapitre using image URLs. This endpoint:

  1. Validates that the sub-chapitre exists and doesn't already have content
  2. Creates a new Course document with the provided URLs
  3. Links the new course to the sub-chapitre
  4. Starts a background task to process the course content

Only accessible by admin users.

post/admin/holiday-courses/subchapitres/{sub_chapitre_id}/create-course-content-from-urls

Path parameters

sub_chapitre_idstring required

The ID of the holiday course sub-chapitre

The ID of the holiday course sub-chapitre

Request body

image_urlsstring[] required
depthinteger
include_qcmboolean
include_flashcardsboolean
include_illustrationsboolean
include_excellence_tipsboolean

Response

Successful Response

course_idstring required
statusstring required

Changes