Skip to main content
This endpoint records a student’s earned grade and the total possible grade for a specific PDF quiz submission. Once saved, the submission’s is_marked flag is set to 1 and the awarded grade becomes visible to the student.

Endpoint

Required Role

Admin — you must authenticate with an admin-scoped Bearer token.

Required Headers

grade_id is the submission ID — it corresponds to the id field within the submissions array returned by the List Quizzes and Get Quiz endpoints. It is not the quiz’s own id.

Path Parameters

integer
required
The unique ID of the student submission you want to grade. Retrieve this value from the id field inside the submissions array of any quiz response.

Request Body

numeric
required
The grade you are awarding to the student for this submission. Must not exceed total_grade.
numeric
required
The maximum possible grade for this submission. This value is recorded alongside the awarded grade so students can see their score in context.

Example Request

Response

200 OK

422 Validation Error

Error Responses