For Developers
List Submissions
GET https://ed.link/api/v2/graph/classes/:class\_id/assignments/:assignment\_id/submissions
Retrieve a list of Submissions for a given Assignment.
Request Parameters
This query allows for standard paging parameters.
Parameter | Type | Description |
---|---|---|
class_id | string | The UUID of the desired Class. |
assignment_id | string | The UUID of the desired Assignment. |
Sample Request
axios.get(`https://ed.link/api/v2/graph/classes/${class_id}/assignments/${assignment_id}/submissions`, {
headers: {
authorization: `Bearer ${integration_access_token}`
}
});
Sample Response
The response contains the requested Submission object.
{
"$request": "00000000-0000-0000-0000-000000000000",
"$data": [
{
"flags": [],
"state": "submitted",
"created_date": "2022-01-27T17:10:09.702Z",
"attachments": [
{
"type": "link",
"url": "https://www.example.com/my-submission.html/"
}
],
"id": "00000000-0000-0000-0000-000000000000",
"person_id": "00000000-0000-0000-0000-000000000000"
}
]
}