Results
Results viewer: one submission file
The stored text of one of a submission's own files, for the viewer's file tabs. /check/viewer ships content for the first file only; fetch the others here by their filedir. Resolved the way the dashboard resolves them: the engine's cache under every spelling of the path, then the submission's stored archive.
post/check/viewer/file
Request
- Base URL: https://codequiry.com/api/v1
- URL: https://codequiry.com/api/v1/check/viewer/file
- Auth: API key in header apikey
Request body
Example request
{
"check_id": 12345,
"submission_id": 90271,
"file_path": "nowak_alice_a4/BankAccount.java"
}Response
File text
Example response
{
"success": true,
"content": "package banking;\n",
"filedir": "nowak_alice_a4/BankAccount.java"
}Changes
No recorded changes to this operation across all 1 revision of this API.