Skip to main content
GET
Get assignment constants
Every assignment, model answer sheet, answer sheet, and document reports progress with the same four status values. They never change, so you can hard-code them instead of calling this endpoint.
The fileType numbers in this response do not match the fileType on a document you uploaded. A JPEG is stored as 3, and an audio link is also stored as 3. In practice you receive 1 for a PDF, 3 for a JPEG or an audio link, and 4 for a PNG. Tell a JPEG and an audio link apart by audio_link, which is set only on an audio link.

Next step

Create an assignment

Start the flow in Evaluate an assignment.

Authorizations

Authorization
string
header
required

Access token from Get an access token.

Response

The status and file type maps.

status
object

Status values used by assignments, model answer sheets, answer sheets, and documents.

fileType
object

File type names. These numbers do not match the fileType on an uploaded document: a JPEG is stored as 3, and an audio link is also 3. Tell them apart by audio_link, which is set only on an audio link.