Skip to main content

Quiz

For loop type lifter_quiz, here are the query parameters and fields.

Query parameters

  • course - Course ID or "current" for current course where the quiz is assigned.
    Type: string

  • is_open - If current student can take the quiz. "true"/"false"
    Type: boolean

  • lesson - Lesson ID or "current" for current lesson where the quiz is assigned.
    Type: string

  • student - Student ID or "current" for current student who attemted the quiz.
    Type: string

Fields

  • allowed_attempts - Quiz attempts allowed "true"/"false"

  • attempts - Quiz attempts

  • content - Quiz cntent

  • course - Quiz course loop

  • has_attempt_limit - Quiz has attempts limit "true"/"false"

  • has_time_limit - Quiz has time limit "true"/"false"

  • id - Quiz ID

  • is_open - Quiz is open for current student, "true"/"false"

  • lesson - Quiz lesson loop

  • passing_percent - Quiz passing percent

  • questions - Quiz questions loop

  • random_questions - Quiz questions randomized "true"/"false"

  • show_correct_answer - Quiz question show correct answer if wrong chosen "true"/"false"

  • time_limit - Quiz time limit in minutes

  • user_has_access - If User has access to the quiz, string "true"/"false"

  • wrapper_end - Quiz wrapper end html

  • wrapper_start - Quiz wrapper start html