Teacher Courses

Update Course Unit

Changed on

Update specific fields of a unit within a course.

Allows updating the title, unit_summary, and generated_content of a unit within a course that belongs to the caller (a teacher's course, or a student's own course, EXC-985).

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

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/teacher/courses/{course_id}/units/{unit_id}
  • Auth: OAuth 2 (password, token URL api/login)

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
append_status'GENERATING' | 'COMPLETED' | 'FAILED' nullable
append_started_atstring date-time nullable
append_error_messagestring nullable
error_messagestring nullable
warningsstring[] nullable
figures_cropobject nullable
processing_optionsobject nullable
source_type'student_upload' | 'teacher_assigned' | 'holiday_workbook' | 'excellence_course' nullable
excellence_course_keystring nullable
excellence_content_signaturestring nullable
excellence_unmodifiedboolean nullable
holiday_course_contextobject nullable
created_atstring date-time
updated_atstring date-time

Changes

    • warning

      added the new excellence_course enum value to the / response property for the response status

    • warning

      added the new interactive enum value to the ////// response property for the response status

    • warning

      added the new video enum value to the ////// response property for the response status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property to the response with the status

    • info

      added the optional property /// to the response with the status