Grading Periods
Manage grading periods
A GradingPeriod object looks like:
GradingPeriodsController#index
GET /api/v1/accounts/:account_id/grading_periods
GET /api/v1/accounts/:account_id/grading_periods
Scope: url:GET|/api/v1/accounts/:account_id/grading_periods
GET /api/v1/courses/:course_id/grading_periods
GET /api/v1/courses/:course_id/grading_periods
Scope: url:GET|/api/v1/courses/:course_id/grading_periods
Returns the paginated list of grading periods for the current course.
Example Response:
GET /api/v1/courses/:course_id/grading_periods/:id
GET /api/v1/courses/:course_id/grading_periods/:id
Scope: url:GET|/api/v1/courses/:course_id/grading_periods/:id
Returns the grading period with the given id
Example Response:
GradingPeriodsController#update
PUT /api/v1/courses/:course_id/grading_periods/:id
PUT /api/v1/courses/:course_id/grading_periods/:id
Scope: url:PUT|/api/v1/courses/:course_id/grading_periods/:id
Update an existing grading period.
Request Parameters:
Parameter | Type | Description |
---|---|---|
| Required | The date the grading period starts. |
| Required | no description |
|
| A weight value that contributes to the overall weight of a grading period set which is used to calculate how much assignments in this period contribute to the total grade |
Example Response:
GradingPeriodsController#destroy
DELETE /api/v1/courses/:course_id/grading_periods/:id
DELETE /api/v1/courses/:course_id/grading_periods/:id
Scope: url:DELETE|/api/v1/courses/:course_id/grading_periods/:id
DELETE /api/v1/accounts/:account_id/grading_periods/:id
DELETE /api/v1/accounts/:account_id/grading_periods/:id
Scope: url:DELETE|/api/v1/accounts/:account_id/grading_periods/:id
204 No Content response code is returned if the deletion was successful.
GradingPeriodsController#batch_update
PATCH /api/v1/courses/:course_id/grading_periods/batch_update
PATCH /api/v1/courses/:course_id/grading_periods/batch_update
Scope: url:PATCH|/api/v1/courses/:course_id/grading_periods/batch_update
PATCH /api/v1/grading_period_sets/:set_id/grading_periods/batch_update
PATCH /api/v1/grading_period_sets/:set_id/grading_periods/batch_update
Scope: url:PATCH|/api/v1/grading_period_sets/:set_id/grading_periods/batch_update
Update multiple grading periods
Request Parameters:
Parameter | Type | Description |
---|---|---|
| Required | The id of the grading period set. |
|
| The id of the grading period. If the id parameter does not exist, a new grading period will be created. |
| Required | The title of the grading period. The title is required for creating a new grading period, but not for updating an existing grading period. |
| Required | The date the grading period starts. The start_date is required for creating a new grading period, but not for updating an existing grading period. |
| Required | The date the grading period ends. The end_date is required for creating a new grading period, but not for updating an existing grading period. |
| Required | The date after which grades can no longer be changed for a grading period. The close_date is required for creating a new grading period, but not for updating an existing grading period. |
|
| A weight value that contributes to the overall weight of a grading period set which is used to calculate how much assignments in this period contribute to the total grade |
Example Response:
© Instructure, Inc. Generated on Wed Nov 6 14:20:07 2024 This documentation is generated directly from the Canvas LMS source code, available on Github.
Last updated