Teacher Courses

Create Course Block

Changed on

Insert a new block (new id) after after_block_id, or first.

post/teacher/courses/{course_id}/units/{unit_id}/blocks

Request

Path parameters

course_idstring required
unit_idstring required

Request body

type'paragraph' | 'theorem' | 'definition' | 'example' | 'property' | 'explanation' | 'note' | 'demonstration' | 'illustration' | 'video' | 'interactive' required
contentstring required
after_block_idstring nullable required

Response

Successful Response

unit_idstring required
generated_contentstring required

Changes

    • 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 new interactive enum value to the request property

    • info

      added the new video enum value to the request property

    • info

      endpoint added