Teacher Courses

Apply Course Chat Action

Apply a batch of granular edits proposed by the chat assistant on the course "Aperçu" page (edit/insert/delete a block, rename/add/delete a unit, insert a generated figure). Block numbers refer to the unit as it was when the assistant proposed the batch.

post/teacher/courses/{course_id}/chat-action

Path parameters

course_idstring required

Request body

Response

Successful Response

statusstring required
appliedinteger required
skippedstring[] required
figure_idsstring[] required
touched_unit_idsstring[] required
flashcards_touchedboolean
qcm_touchedboolean
quiz_touchedboolean

Changes