Teacher Courses

Apply Course Chat Action

Changed on

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). Blocks are named by id; a legacy block number refers to the unit as it was when the assistant proposed the batch. A block id that no longer exists answers 409 and writes nothing.

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

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

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

    • 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 new optional request property //

    • info

      added the non-success response with the status

    • info

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