Quiz Assignment Overrides
Welcome to Our New API Docs! This is the new home for all things API (previously at Canvas LMS REST API Documentation).
Quiz Assignment Overrides API
A QuizAssignmentOverrideSet object looks like:
// Set of assignment-overridden dates for a quiz.
{
// ID of the quiz those dates are for.
"quiz_id": "1",
// An array of quiz assignment overrides. For students, this array will always
// contain a single item which is the set of dates that apply to that student.
// For teachers and staff, it may contain more.
"due_dates": null,
// An array of all assignment overrides active for the quiz. This is visible
// only to teachers and staff.
"all_dates": null
}A QuizAssignmentOverrideSetContainer object looks like:
// Container for set of assignment-overridden dates for a quiz.
{
// The QuizAssignmentOverrideSet
"quiz_assignment_overrides": null
}A QuizAssignmentOverride object looks like:
Quizzes::QuizAssignmentOverridesController#index
GET /api/v1/courses/:course_id/quizzes/assignment_overrides
Scope: url:GET|/api/v1/courses/:course_id/quizzes/assignment_overrides
Retrieve the actual due-at, unlock-at, and available-at dates for quizzes based on the assignment overrides active for the current API user.
Request Parameters:
quiz_assignment_overrides[][quiz_ids][]
integer
An array of quiz IDs. If omitted, overrides for all quizzes available to the operating user will be returned.
Example Response:
Returns a QuizAssignmentOverrideSetContainer object.
Quizzes::QuizAssignmentOverridesController#new_quizzes
GET /api/v1/courses/:course_id/new_quizzes/assignment_overrides
Scope: url:GET|/api/v1/courses/:course_id/new_quizzes/assignment_overrides
Retrieve the actual due-at, unlock-at, and available-at dates for quizzes based on the assignment overrides active for the current API user.
Request Parameters:
quiz_assignment_overrides[][quiz_ids][]
integer
An array of quiz IDs. If omitted, overrides for all quizzes available to the operating user will be returned.
Example Response:
Returns a QuizAssignmentOverrideSetContainer object.
This documentation is generated directly from the Canvas LMS source code, available on Github.
Last updated
Was this helpful?