Load Assignment Instance Endpoint
The GET /assignments/instance/{id}
endpoint returns the details of the assignment instance with the given id.
Request
Response
For successful requests, the response code will be a 200 OK
and the response body will be a JSON
object with the following fields:
status
string
The status of this assignment instance. The possible values are in_progress
and complete
.
score
integer
The score this student achieved on this assignment, out of 100.
Only present if the status
is complete
.
student_report_url
string
The automated analysis report for this assignment instance, to be shown to the student.
Only present if the status
is complete
.
Example
Given the following request to this endpoint:
If the student has not completed the assignment yet, the response would be:
If the student has completed the assignment, the response would be:
Last updated