Get a problem file
GET/api/files/problems/:file
Serves a problem's attached file, inline. Course staff (faculty/TA) or a system admin only: a problem file is the autograder's answer/solution key, so a student must never receive it (same sensitivity as a solution file). The download is audited, and traversal filenames are rejected.
Auth: required
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 500
The file bytes (inline).
Invalid filename.
Not signed in.
Caller is not course staff or a system admin.
File not found.
Server error.