Skip to main content

Submit a solution

POST 

/api/submissions

Submits a student's solution file for one assignment problem (multipart/form-data) and queues it for evaluation. Requires a signed-in user who is enrolled in the course (admins may submit anywhere). The problem must be linked to the assignment; the authoritative course comes from the assignment, not the client. Enforces a resubmit cooldown (429), the assignment's late/late-cutoff policy (403), an upload size limit (413), and XML structure validation. On success the submission is stored PENDING and returned with 202.

Auth: required

View source

Request

Responses

Submission accepted and queued (status PENDING).