download_submission_text
Download the stored text body of a submission as plain text for review or further processing. Supports cheatsheet, solver code, and polynomial types.
Instructions
Download the stored text body of a submission as plain text.
Scope: competition.read. Returns payload.content (cheatsheet), payload.solverCode (solver-participation), or newline-joined payload.polynomials (igp24-polynomial). Raises NO_DOWNLOAD_FOR_KIND for model-reference submissions, which have no text body.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| submission_id | Yes | ||
| competition_id | Yes |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |