Function headless_lms_server::controllers::course_material::exams::reset_exam_progress
source · pub async fn reset_exam_progress(
pool: Data<PgPool>,
exam_id: Path<Uuid>,
user: AuthUser
) -> ControllerResult<Json<()>>
Expand description
GET /api/v0/course-material/exams/:id/reset-exam-progress
Used for testing an exam, resets exercise submissions and restarts the exam time.