Moderated Grading
API for viewing and adding students to the list of people in moderation for an assignment
API for manipulating provisional grades
Provisional grades are created by using the Submissions API endpoint "Grade or comment on a submission" with provisional=true
. They can be viewed by using "List assignment submissions", "Get a single submission", or "List gradeable students" with include[]=provisional_grades
. This API performs other operations on provisional grades for use with the Moderated Grading feature.
A ProvisionalGrade object looks like:
GET /api/v1/courses/:course_id/assignments/:assignment_id/moderated_students
GET /api/v1/courses/:course_id/assignments/:assignment_id/moderated_students
Scope: url:GET|/api/v1/courses/:course_id/assignments/:assignment_id/moderated_students
Returns a paginated list of students selected for moderation
Returns a list of User objects.
ModerationSetController#create
POST /api/v1/courses/:course_id/assignments/:assignment_id/moderated_students
POST /api/v1/courses/:course_id/assignments/:assignment_id/moderated_students
Scope: url:POST|/api/v1/courses/:course_id/assignments/:assignment_id/moderated_students
Returns an array of users that were selected for moderation
Request Parameters:
Parameter | Type | Description |
---|---|---|
|
| user ids for students to select for moderation |
Returns a list of User objects.
ProvisionalGradesController#bulk_select
PUT /api/v1/courses/:course_id/assignments/:assignment_id/provisional_grades/bulk_select
PUT /api/v1/courses/:course_id/assignments/:assignment_id/provisional_grades/bulk_select
Scope: url:PUT|/api/v1/courses/:course_id/assignments/:assignment_id/provisional_grades/bulk_select
Choose which provisional grades will be received by associated students for an assignment. The caller must be the final grader for the assignment or an admin with :select_final_grade rights.
Example Response:
ProvisionalGradesController#status
GET /api/v1/courses/:course_id/assignments/:assignment_id/provisional_grades/status
GET /api/v1/courses/:course_id/assignments/:assignment_id/provisional_grades/status
Scope: url:GET|/api/v1/courses/:course_id/assignments/:assignment_id/provisional_grades/status
Tell whether the student’s submission needs one or more provisional grades.
Request Parameters:
Parameter | Type | Description |
---|---|---|
|
| The id of the student to show the status for |
Example Request:
Example Response:
ProvisionalGradesController#select
PUT /api/v1/courses/:course_id/assignments/:assignment_id/provisional_grades/:provisional_grade_id/select
PUT /api/v1/courses/:course_id/assignments/:assignment_id/provisional_grades/:provisional_grade_id/select
Scope: url:PUT|/api/v1/courses/:course_id/assignments/:assignment_id/provisional_grades/:provisional_grade_id/select
Choose which provisional grade the student should receive for a submission. The caller must be the final grader for the assignment or an admin with :select_final_grade rights.
Example Response:
ProvisionalGradesController#publish
POST /api/v1/courses/:course_id/assignments/:assignment_id/provisional_grades/publish
POST /api/v1/courses/:course_id/assignments/:assignment_id/provisional_grades/publish
Scope: url:POST|/api/v1/courses/:course_id/assignments/:assignment_id/provisional_grades/publish
Publish the selected provisional grade for all submissions to an assignment. Use the “Select provisional grade” endpoint to choose which provisional grade to publish for a particular submission.
Students not in the moderation set will have their one and only provisional grade published.
WARNING: This is irreversible. This will overwrite existing grades in the gradebook.
Example Request:
AnonymousProvisionalGradesController#status
GET /api/v1/courses/:course_id/assignments/:assignment_id/anonymous_provisional_grades/status
GET /api/v1/courses/:course_id/assignments/:assignment_id/anonymous_provisional_grades/status
Scope: url:GET|/api/v1/courses/:course_id/assignments/:assignment_id/anonymous_provisional_grades/status
Determine whether or not the student’s submission needs one or more provisional grades.
Request Parameters:
Parameter | Type | Description |
---|---|---|
|
| The id of the student to show the status for |
Example Request:
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