Get a submission file
GET/api/files/submissions/:file
Serves a submission's uploaded file as a download. Restricted to the submitting student, course staff (faculty or TAs), or a system admin. The download is audited, and traversal filenames are rejected.
Auth: required
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The file bytes (as an attachment).
Invalid filename.
Not signed in.
Not the submitting student, course staff, or a system admin.
File not found.
Server error.