For Developers

Get Submission

This endpoint is marked as Alpha. It may be changed in the future.

GET https://ed.link/api/v2/graph/classes/:class\_id/assignments/:assignment\_id/submissions/:submission\_id

Fetch a particular Submission for a given Assignment.

Request Parameters

ParameterTypeDescription
class_idstringThe UUID of the desired Class.
assignment_idstringThe UUID of the desired Assignment.
person_idstringThe UUID of the desired Person (Student)
or
submission_idstringThe UUID of the desired Assignment.

Sample Request

axios.get(`https://ed.link/api/v2/graph/classes/${class_id}/assignments/${assignment_id}/submissions/${submission_id}`, {
    headers: {
        authorization: `Bearer ${integration_access_token}`
    }
});

Sample Response

{
    "$data": {
        "attachments": [
            {
                "type": "link",
                "url": "https://www.example.com/my-submission.html/"
            }
        ],
        "flags": [],
        "grade_points": 85,
        "grade_comment": "",
        "state": "submitted",
        "id": "00000000-0000-0000-0000-000000000000",
        "assignment_id": "00000000-0000-0000-0000-000000000000",
        "person_id": "00000000-0000-0000-0000-000000000000"
    },
    "$request": "00000000-0000-0000-0000-000000000000"
}