Quiz Extensions
API for setting extensions on student quiz submissions
A QuizExtension object looks like:
Quizzes::QuizExtensionsController#create
POST /api/v1/courses/:course_id/quizzes/:quiz_id/extensions
POST /api/v1/courses/:course_id/quizzes/:quiz_id/extensions
Scope: url:POST|/api/v1/courses/:course_id/quizzes/:quiz_id/extensions
Responses
200 OK if the request was successful
403 Forbidden if you are not allowed to extend quizzes for this course
Request Parameters:
Parameter | Type | Description |
---|---|---|
| Required | The ID of the user we want to add quiz extensions for. |
|
| Number of times the student is allowed to re-take the quiz over the multiple-attempt limit. This is limited to 1000 attempts or less. |
|
| The number of extra minutes to allow for all attempts. This will add to the existing time limit on the submission. This is limited to 10080 minutes (1 week) |
|
| Allow the student to take the quiz even if it’s locked for everyone else. |
|
| The number of minutes to extend the quiz from the current time. This is mutually exclusive to extend_from_end_at. This is limited to 1440 minutes (24 hours) |
|
| The number of minutes to extend the quiz beyond the quiz’s current ending time. This is mutually exclusive to extend_from_now. This is limited to 1440 minutes (24 hours) |
Example Request:
Example Response:
© Instructure, Inc. Generated on Wed Nov 6 14:20:08 2024 This documentation is generated directly from the Canvas LMS source code, available on Github.
Last updated