Skip to content

API: Quiz Plays endpoints

/quiz:results:play

GET

Get detailed results for a specific Quiz play.

[] Input:

  • [!] string play: Quiz play identification string

[] Output:

  • string play: Quiz play identification string
  • string user: user identification string
  • datetime time_start: start time
  • datetime time_end: end time
  • integer questions_total: total number of questions asked
  • integer questions_correct: number of correctly answered questions
  • float points_total: total points
  • float points_correct: total points scored
  • boolean valid: result is valid
  • list questions
    • string index: question index
    • string/null id: external unique question identifier (if present)
    • string question: question identification string
    • float time_answer: number of seconds spent on question (if available)
    • float points_maximum: maximum points
    • float points: points scored

/quiz:results:user

GET

Get user results for a specific Quiz set.

[] Input:

  • [!] string quiz: Quiz set identification string
  • [!] string user: user identification string

[] Output:

  • list
    • string play: Quiz play identification string
    • string user: user identification string
    • datetime time_start: start time
    • datetime time_end: end time
    • integer questions_total: total number of questions asked
    • integer questions_correct: number of correctly answered questions
    • float points_total: total points
    • float points_correct: total points scored
    • boolean valid: result is valid

/exam:results:user

GET

Get user results for a specific exam.

[] Input:

  • [!] string exam: exam identification string
  • [!] string user: user identification string

[] Output:

  • list
    • string play: Quiz play identification string
    • string user: user identification string
    • datetime time_start: start time
    • datetime time_end: end time
    • integer questions_total: total number of questions asked
    • integer questions_correct: number of correctly answered questions
    • float points_total: total points
    • float points_correct: total points scored
    • integer attempt: index of attempt
    • boolean valid: result is valid

Last update: July 27, 2021