Submissions
Upload many submissions
Uploads 1-50 ZIP files into a check in one request. Validation is all-or-nothing: if any file is not a ZIP, is over 10 MB, or is not a file at all, the whole batch is rejected with 422 and nothing is stored - check the files before sending them. A file that passes validation but fails while being stored is reported in failed_uploads, alongside the ones that succeeded, with a 200 response.
post/check/upload-batch
Request
- Base URL: https://codequiry.com/api/v1
- URL: https://codequiry.com/api/v1/check/upload-batch
- Auth: API key in header apikey
Response
Batch processed
Example response
{
"success": true,
"message": "3 of 4 files uploaded.",
"uploaded": [
{
"id": 90271,
"filename": "nowak_alice_a4.zip",
"file_size": 10874,
"status_id": 2
}
],
"uploaded_count": 3,
"failed_count": 1,
"failed_uploads": [
{
"file": "duffy_erin_a4.rar",
"error": "The files.3 must be a file of type: zip."
}
],
"check": {
"stats": {
"submissions": 24,
"completed": 24,
"avg_group": 18.4,
"max_group": 82,
"avg_web": 9.1,
"max_web": 100,
"flagged": 2,
"avg_ai": 31.6,
"max_ai": 97.2,
"ai_submissions": 24,
"ai_flagged": 3,
"matches": 41
},
"id": 12345,
"name": "CS-201 Assignment 4",
"status_id": 4,
"language_id": 13,
"test_type": 1,
"ai_run": 1,
"created_at": "2026-08-11 09:14:02",
"updated_at": "2026-08-11 09:41:37",
"assignmentstatuses": {
"id": 4,
"status": "Completed"
}
}
}Changes
No recorded changes to this operation across all 1 revision of this API.