My Courses

Upload Course Images

Upload base64-encoded images for a new course. This will:

  1. Upload the files to S3
  2. Create a new Course document with status "UPLOADING"
  3. Start a background task to process the course

If create_as_teacher is True and the user is a teacher/admin, the course will be created as a teacher course (is_teacher_course=True).

Returns the course_id and initial status.

post/my-courses/upload

Request body

depthinteger
include_qcmboolean
include_flashcardsboolean
include_illustrationsboolean
include_excellence_tipsboolean
custom_instructionsstring nullable
create_as_teacherboolean
subject'maths' | 'physique-chimie' nullable

Response

Successful Response

course_idstring required
statusstring required

Changes

No recorded changes to this endpoint across all 2 revisions of this API.