Course Quiz Extensions
API for setting extensions on student quiz submissions at the course level
A CourseQuizExtension object looks like:
Quizzes::CourseQuizExtensionsController#create
POST /api/v1/courses/:course_id/quiz_extensions
POST /api/v1/courses/:course_id/quiz_extensions
Scope: url:POST|/api/v1/courses/:course_id/quiz_extensions
Responses
200 OK if the request was successful
403 Forbidden if you are not allowed to extend quizzes for this course
Request Parameters:
user_id
Required integer
The ID of the user we want to add quiz extensions for.
extra_attempts
integer
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.
extra_time
integer
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)
manually_unlocked
boolean
Allow the student to take the quiz even if it’s locked for everyone else.
extend_from_now
integer
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)
extend_from_end_at
integer
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:
This documentation is generated directly from the Canvas LMS source code, available on Github.
Last updated