Teacher Courses

Update Course Unit

Update specific fields of a unit within a teacher course.

Allows updating the title, unit_summary, and generated_content of a unit within a course that belongs to the authenticated teacher.

put/teacher/courses/{course_id}/units/{unit_id}

Path parameters

course_idstring required
unit_idstring required

Request body

titlestring nullable
unit_summarystring nullable
generated_contentstring nullable

Response

Successful Response

_idstring
user_idstring required
is_teacher_courseboolean
folder_idstring nullable
titlestring required
subjectstring nullable
status'UPLOADING' | 'PROCESSING_IMAGES' | 'STRUCTURING' | 'GENERATING_CONTENT' | 'COMPLETED' | 'FAILED'
original_image_pathsstring[]
raw_content_blobstring nullable
generated_course_contentstring nullable
revision_deck_status'GENERATING' | 'COMPLETED' | 'FAILED' nullable
knowledge_quiz_status'GENERATING' | 'COMPLETED' | 'FAILED' nullable
error_messagestring nullable
warningsstring[] nullable
figures_cropobject nullable
processing_optionsobject nullable
source_type'student_upload' | 'teacher_assigned' | 'holiday_workbook' nullable
holiday_course_contextobject nullable
created_atstring date-time
updated_atstring date-time

Changes