course-material-chapters

POST `/api/v0/course-material/chapters/:chapter_id/lock` - Complete chapter (mark as done) Completes a chapter for the authenticated user (marks it as done). Validates that: - Course has chapter_locking_enabled - Chapter is currently unlocked (student can work on it) - All previous chapters in the same module are completed (sequential completion) - Moves all exercises to manual review - Unlocks next chapters for the user *

post/api/v0/course-material/chapters/{chapter_id}/lock

Request

  • The document declares no server URL.
  • Auth: none declared

Path parameters

chapter_idstring uuid required

Chapter id

Response

Updated chapter locking status

chapter_idstring uuid required
course_idstring uuid required
created_atstring date-time required
deleted_atstring date-time nullable
idstring uuid required
status'unlocked' | 'completed_and_locked' | 'not_unlocked_yet' required
updated_atstring date-time required
user_idstring uuid required

Changes

No recorded changes to this operation across all 22 revisions of this API.