Get a student's submissions for an assignment
GET/api/courses/:id/assignments/:aid/submissions/:sid
Returns a student's submissions for an assignment, grouped by problem and each annotated with that problem's metadata (falls back gracefully if the optional evaluationRaw column is absent). The [sid] segment is the student id. Access: the student themselves, course staff, or a system admin (sid 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 grouped by problem.
Not signed in.
Requesting another student's submissions without being course staff or a system admin, or not an enrolled member of the course.
Assignment not found, or it has no linked problems.
Server error.