Gradebook History
API for accessing the versioned history of student submissions along with their grade changes, organized by the date of the submission.
A Grader object looks like:
A Day object looks like:
A SubmissionVersion object looks like:
A SubmissionHistory object looks like:
GradebookHistoryApiController#days
GET /api/v1/courses/:course_id/gradebook_history/days
GET /api/v1/courses/:course_id/gradebook_history/days
Scope: url:GET|/api/v1/courses/:course_id/gradebook_history/days
Returns a map of dates to grader/assignment groups
Request Parameters:
Parameter | Type | Description |
---|---|---|
| Required | The id of the contextual course for this API call |
Returns a list of Day objects.
GradebookHistoryApiController#day_details
GET /api/v1/courses/:course_id/gradebook_history/:date
GET /api/v1/courses/:course_id/gradebook_history/:date
Scope: url:GET|/api/v1/courses/:course_id/gradebook_history/:date
Returns the graders who worked on this day, along with the assignments they worked on. More details can be obtained by selecting a grader and assignment and calling the ‘submissions’ api endpoint for a given date.
Request Parameters:
Parameter | Type | Description |
---|---|---|
| Required | The id of the contextual course for this API call |
| Required | The date for which you would like to see detailed information |
Returns a list of Grader objects.
GradebookHistoryApiController#submissions
GET /api/v1/courses/:course_id/gradebook_history/:date/graders/:grader_id/assignments/:assignment_id/submissions
GET /api/v1/courses/:course_id/gradebook_history/:date/graders/:grader_id/assignments/:assignment_id/submissions
Scope: url:GET|/api/v1/courses/:course_id/gradebook_history/:date/graders/:grader_id/assignments/:assignment_id/submissions
Gives a nested list of submission versions
Request Parameters:
Parameter | Type | Description |
---|---|---|
| Required | The id of the contextual course for this API call |
| Required | The date for which you would like to see submissions |
| Required | The ID of the grader for which you want to see submissions |
| Required | The ID of the assignment for which you want to see submissions |
Returns a list of SubmissionHistory objects.
GradebookHistoryApiController#feed
GET /api/v1/courses/:course_id/gradebook_history/feed
GET /api/v1/courses/:course_id/gradebook_history/feed
Scope: url:GET|/api/v1/courses/:course_id/gradebook_history/feed
Gives a paginated, uncollated list of submission versions for all matching submissions in the context. This SubmissionVersion objects will not include the new_grade
or previous_grade
keys, only the grade
; same for graded_at
and grader
.
Request Parameters:
Parameter | Type | Description |
---|---|---|
| Required | The id of the contextual course for this API call |
|
| The ID of the assignment for which you want to see submissions. If absent, versions of submissions from any assignment in the course are included. |
|
| The ID of the user for which you want to see submissions. If absent, versions of submissions from any user in the course are included. |
|
| Returns submission versions in ascending date order (oldest first). If absent, returns submission versions in descending date order (newest first). |
Returns a list of SubmissionVersion objects.
© 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