Assignment Extensions
API for setting extensions on student assignment submissions. These cannot be set for discussion assignments or quizzes. For quizzes, use Quiz Extensions instead.
An AssignmentExtension object looks like:
AssignmentExtensionsController#create
POST /api/v1/courses/:course_id/assignments/:assignment_id/extensions
POST /api/v1/courses/:course_id/assignments/:assignment_id/extensions
Scope: url:POST|/api/v1/courses/:course_id/assignments/:assignment_id/extensions
Responses
200 OK if the request was successful
403 Forbidden if you are not allowed to extend assignments for this course
400 Bad Request if any of the extensions are invalid
Request Parameters:
Parameter | Type | Description |
---|---|---|
| Required | The ID of the user we want to add assignment extensions for. |
| Required | Number of times the student is allowed to re-take the assignment over the limit. |
Example Request:
Example Response:
© Instructure, Inc. Generated on Wed Nov 6 14:20:05 2024 This documentation is generated directly from the Canvas LMS source code, available on Github.
Last updated