get_user_chapter_locks

Function get_user_chapter_locks 

Source
async fn get_user_chapter_locks(
    course_id: Path<Uuid>,
    pool: Data<PgPool>,
    user: AuthUser,
) -> ControllerResult<Json<Vec<UserChapterLockingStatus>>>
Expand description

GET /api/v0/course-material/courses/:course_id/user-chapter-locks - Get user’s chapter locking statuses for course

Returns all chapters that the authenticated user has unlocked or completed for the specified course.