Quiz Statistics
A QuizStatistics object looks like:
{
// The ID of the quiz statistics report.
"id": 1,
// The ID of the Quiz the statistics report is for.
// NOTE: AVAILABLE ONLY IN NON-JSON-API REQUESTS.
"quiz_id": 2,
// Whether there are any students that have made mutliple submissions for this
// quiz.
"multiple_attempts_exist": true,
// In the presence of multiple attempts, this field describes whether the
// statistics describe all the submission attempts and not only the latest ones.
"includes_all_versions": true,
// The time at which the statistics were generated, which is usually after the
// occurrence of a quiz event, like a student submitting it.
"generated_at": "2013-01-23T23:59:00-07:00",
// The API HTTP/HTTPS URL to this quiz statistics.
"url": "http://canvas.example.edu/api/v1/courses/1/quizzes/2/statistics",
// The HTTP/HTTPS URL to the page where the statistics can be seen visually.
"html_url": "http://canvas.example.edu/courses/1/quizzes/2/statistics",
// Question-specific statistics for each question and its answers.
"question_statistics": null,
// Question-specific statistics for each question and its answers.
"submission_statistics": null,
// JSON-API construct that contains links to media related to this quiz
// statistics object.
// NOTE: AVAILABLE ONLY IN JSON-API REQUESTS.
"links": null
}A QuizStatisticsLinks object looks like:
A QuizStatisticsQuestionStatistics object looks like:
A QuizStatisticsAnswerStatistics object looks like:
A QuizStatisticsAnswerPointBiserial object looks like:
A QuizStatisticsSubmissionStatistics object looks like:
GET /api/v1/courses/:course_id/quizzes/:quiz_id/statistics
GET /api/v1/courses/:course_id/quizzes/:quiz_id/statisticsRequest Parameters:
Parameter
Type
Description
Example Response:
Appendixes
Appendix: Question Specific Statistics
Multiple Choice
Fill in Multiple Blanks
Multiple Answers
Multiple Dropdowns
Essay
Matching
File Upload
Formula
Numerical
Short Answer (aka Fill in The Blank)
True/False
Last updated
Was this helpful?