Skip to main content

Course Quiz Attempt

{
"id": "integer",
"created_at": "string",
"lesson_id": "integer",
"user": {},
"quiz_attempt": {
"grade": "integer",
"result": "string",
"questions": [],
"num_attempts": "integer",
"passing_grade": "integer",
"correct_responses": "integer"
}
}

Properties

NameTypeRequiredRestrictionsDescription
idintegerfalseread-onlyUnique integer value identifying this quiz attempt
created_atstring(date-time)falseread-onlyDatetime of quiz attempt
lesson_idintegerfalseread-onlyUnique integer value identifying this quiz (lesson course)
userUser Minimalfalseread-onlythe user who attempted to solve the quiz
quiz_attemptobjectfalseread-onlyThe detailed quiz attempt
» gradeintegerfalseread-onlyThe grade (score in percentage) the user received at the end of the following quiz attempt
» resultresultfalseread-onlyThe result of the current quiz attempt
» questionslist(Course Quiz Question)falseread-onlyList of Course Quiz Question that made up the quiz that the user answered
» num_attemptsintegerfalseread-onlyNumber of attempts made by the user
» passing_gradeintegerfalseread-onlyDefine the minimum percentage of score required for students to pass the quiz
» correct_responsesintegerfalseread-onlyNumber of correct answers

Enumerated Values

PropertyValueDescription
resultuncompletedQuiz course completion status is uncompleted for the user
resultcompletedQuiz course completion status is completed for the user.
Quiz passed
resultfailedQuiz course completion status is failed for the user