Admin - Holiday Courses

Create Course Content From Tex

Create a new course from raw LaTeX content.

This endpoint:

  1. Parses LaTeX content into structured CourseUnit objects using AI
  2. Creates a Course document with holiday_workbook source type
  3. Links the course to the specified HolidayCourseSubChapitre
  4. Generates additional QCM/Flashcard units (background task)
  5. Generates global revision flashcards (background task)
post/admin/holiday-courses/subchapitres/{sub_chapitre_id}/create-course-from-tex

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

Path parameters

sub_chapitre_idstring required

The ID of the holiday course sub-chapitre

Request body

tex_contentstring required
include_qcm_unitboolean
include_flashcards_unitboolean

Response

Successful Response

course_idstring required
statusstring required
messagestring nullable

Changes

No operation changes recorded.