Custom Gradebook Columns
API for adding additional columns to the gradebook. Custom gradebook columns will be displayed with the other frozen gradebook columns.
A CustomColumn object looks like:
A ColumnDatum object looks like:
CustomGradebookColumnsApiController#index
GET /api/v1/courses/:course_id/custom_gradebook_columns
GET /api/v1/courses/:course_id/custom_gradebook_columns
Scope: url:GET|/api/v1/courses/:course_id/custom_gradebook_columns
A paginated list of all custom gradebook columns for a course
Request Parameters:
Parameter | Type | Description |
---|---|---|
|
| Include hidden parameters (defaults to false) |
Returns a list of CustomColumn objects.
CustomGradebookColumnsApiController#create
POST /api/v1/courses/:course_id/custom_gradebook_columns
POST /api/v1/courses/:course_id/custom_gradebook_columns
Scope: url:POST|/api/v1/courses/:course_id/custom_gradebook_columns
Create a custom gradebook column
Request Parameters:
Parameter | Type | Description |
---|---|---|
| Required | no description |
|
| The position of the column relative to other custom columns |
|
| Hidden columns are not displayed in the gradebook |
|
| Set this if the column is created by a teacher. The gradebook only supports one teacher_notes column. |
|
| Set this to prevent the column from being editable in the gradebook ui |
Returns a CustomColumn object.
CustomGradebookColumnsApiController#update
PUT /api/v1/courses/:course_id/custom_gradebook_columns/:id
PUT /api/v1/courses/:course_id/custom_gradebook_columns/:id
Scope: url:PUT|/api/v1/courses/:course_id/custom_gradebook_columns/:id
Accepts the same parameters as custom gradebook column creation
Returns a CustomColumn object.
CustomGradebookColumnsApiController#destroy
DELETE /api/v1/courses/:course_id/custom_gradebook_columns/:id
DELETE /api/v1/courses/:course_id/custom_gradebook_columns/:id
Scope: url:DELETE|/api/v1/courses/:course_id/custom_gradebook_columns/:id
Permanently deletes a custom column and its associated data
Returns a CustomColumn object.
CustomGradebookColumnsApiController#reorder
POST /api/v1/courses/:course_id/custom_gradebook_columns/reorder
POST /api/v1/courses/:course_id/custom_gradebook_columns/reorder
Scope: url:POST|/api/v1/courses/:course_id/custom_gradebook_columns/reorder
Puts the given columns in the specified order
200 OK is returned if successful
Request Parameters:
Parameter | Type | Description |
---|---|---|
| Required | no description |
CustomGradebookColumnDataApiController#index
GET /api/v1/courses/:course_id/custom_gradebook_columns/:id/data
GET /api/v1/courses/:course_id/custom_gradebook_columns/:id/data
Scope: url:GET|/api/v1/courses/:course_id/custom_gradebook_columns/:id/data
This does not list entries for students without associated data.
Request Parameters:
Parameter | Type | Description |
---|---|---|
|
| If true, hidden columns will be included in the result. If false or absent, only visible columns will be returned. |
Returns a list of ColumnDatum objects.
CustomGradebookColumnDataApiController#update
PUT /api/v1/courses/:course_id/custom_gradebook_columns/:id/data/:user_id
PUT /api/v1/courses/:course_id/custom_gradebook_columns/:id/data/:user_id
Scope: url:PUT|/api/v1/courses/:course_id/custom_gradebook_columns/:id/data/:user_id
Set the content of a custom column
Request Parameters:
Parameter | Type | Description |
---|---|---|
| Required | Column content. Setting this to blank will delete the datum object. |
Returns a ColumnDatum object.
CustomGradebookColumnDataApiController#bulk_update
PUT /api/v1/courses/:course_id/custom_gradebook_column_data
PUT /api/v1/courses/:course_id/custom_gradebook_column_data
Scope: url:PUT|/api/v1/courses/:course_id/custom_gradebook_column_data
Set the content of custom columns
{
}
Request Parameters:
Parameter | Type | Description |
---|---|---|
| Required | Column content. Setting this to an empty string will delete the data object. |
Example Request:
Returns a Progress object.
© Instructure, Inc. Generated on Wed Nov 6 14:20:06 2024 This documentation is generated directly from the Canvas LMS source code, available on Github.
Last updated