Get a student's review data for an assignment
GET/api/courses/:id/assignments/:aid/review-data/:studentId
Assembles the grading/review view for one student on one assignment: their submissions (grouped by problem, with evaluation output), the comments about them, and their per-problem grades. Falls back gracefully if the optional evaluationRaw column is absent. Access: the student themselves, course staff, or a system admin (studentId must be the caller's id unless they are course staff or a system admin). Course membership is also required, except for global admins.
Request
Responses
- 200
- 401
- 403
- 404
- 500
Submissions (by problem), comments, and problem grades for the student.
Not signed in.
Requesting another student's data without being course staff or a system admin, or not an enrolled member of the course.
Assignment not found for this course.
Server error.