CreateSubmission

CreateSubmission queues a program for evaluation and returns its ID; follow it with DescribeSubmission or WatchSubmission. What travels in the request depends on the type of the problem: a program in source for the programming types, a file per test in output for an output-only problem, and the answers in quiz for a quiz — a quiz is graded while the call is being served, so its submission comes back already judged. Submissions are rate limited per account and, when the space configures it through the atlas ConfigurationService, per client IP.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required
Body Params
string
output
object

Output is the submission body of an OUTPUT problem: a file uploaded for each of the problem's inputs (see TestingService.ListInputs).

A test is named by id and not by index, which is unique only within a testset. The index is frozen when the submission is created, so it still renders after the tests have been renumbered.

string
quiz
object

Quiz is the submission body of a QUIZ problem: the answers given to the questions of the quiz.

A question and the options picked in it are named by id, which is what grading resolves them through. Answering only needs those ids: the positions next to them are filled in by the server and frozen when the submission is created, so the submission renders on its own — "Question 3, answer B" — after the questions have been edited or deleted.

string
Response

Language
Credentials
OAuth2
Missing 1 required scope
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json