Make a Course Quiz Attempt
This endpoint allows a user attending the current course to make an attempt to pass the quiz (lesson of type quiz)
identified by {lesson_id} for the course identified by {course_id}, under the section identified by {section_id}.
The user must answer every question.
info
This operation requires the user joins the course; the user must also have access to the lesson.
Users with role creator or manager can always access a lesson while the other users should follow the rules setup by the managers.
Rules:
- lesson should be
published; - if the course
typeisscheduledthe current datetime should be greater than or equal todripped_at; - if the course
typeisstructuredthe current datetime should be greater than or equal to thejoined_atdatetime plusdrip_delaydays; - if the course has
enforce_lessons_orderset to true then all the published lessons before the current one should be completed.
HTTP Request
POST /api/v2/course/{course_id}/section/{section_id}/lesson/{lesson_id}/attempt/