Get my context for an assignment
GET/api/courses/:id/assignments/:aid/student-context
Everything the caller needs to see their own work on an assignment, grouped by problem: their submissions, the comments addressed to them, and their per-problem and overall grades. Requires enrollment in the course; students can't see it until the assignment is published. Scoped entirely to the caller's own data.
Request
Responses
- 200
- 401
- 403
- 404
- 500
The caller's submissions, comments, and grades for the assignment.
Not signed in.
Caller is not enrolled in the course.
Assignment not found in this course, or unpublished (for students).
Server error.