Get a solution file
GET/api/files/solutions/:file
Serves a problem's solution file, the most sensitive protected material, so access is limited to course staff (faculty or TAs) or a system admin, and every successful serve is audited (both inline and ?download=1). Traversal filenames are rejected.
Auth: required
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The solution file bytes (as an attachment).
Invalid filename.
Not signed in.
Caller is not course staff or a system admin.
File not found.
Server error.