Set or clear a problem grade
POST/api/courses/:id/assignments/:aid/problems/:pid/grade/:studentId
Sets or clears a student's grade (and optional feedback) for one problem. Course staff (faculty or TAs) or a system admin. A numeric grade must be within [0, maxPoints]; sending a null grade deletes the record. Every change is audited with the previous value.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The saved (or cleared) grade and feedback.
Grade not a number/null, or out of range.
Not signed in.
Caller is not course staff (faculty or TA) or a system admin.
Problem not found in this assignment/course.
Server error.