Submit a solution (client)
POST/api/client/v1/submissions
Submit a solution file (client). Same multipart body, validation, caps, cooldown, late policy, storage, and queueing as the web /api/submissions (it runs the same createSubmission service) but authenticated by a bearer token. Returns 202 with the new submission's id + status.
Request
Responses
- 202
- 400
- 401
- 403
- 404
- 409
- 413
- 429
- 500
Submission accepted and queued (status PENDING).
Missing fields, unlinked problem, or invalid file structure.
Missing or invalid token.
Not enrolled, or the late policy rejected it.
Assignment not found.
Per-problem submission limit reached.
File exceeds the system upload limit.
Resubmit cooldown in effect (see Retry-After).
Server error.