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

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/subchapitres/{sub_chapitre_id}/create-course-content-from-urls
  • Auth: OAuth 2 (password, token URL api/login)

Path parameters

sub_chapitre_idstring required

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

No operation changes recorded.