Skip to main content

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

View source

Request

Responses

The file bytes (inline).