For Developers
List Submissions
GET https://ed.link/api/v2/my/classes/:class\_id/assignments/:assignment\_id/submissions
Retrieve a list of Submissions for a given Assignment.
If the user is enrolled as a teacher
, ta
, designer
, administrator
, or district-administrator
in the class, this will return all submissions. If not, this will return only the user's own submission.
Any student
users who are actively enrolled in a class will have a Submission created for them by default.
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/my/classes/${class_id}/assignments/${assignment_id}/submissions`, {
headers: {
authorization: `Bearer ${person_access_token}`
}
});
Sample Response
{
"$request": "00000000-0000-0000-0000-000000000000",
"$data": [
{
"flags": [],
"state": "created",
"created_date": "2022-01-27T17:10:09.702Z",
"attempts": [],
"id": "00000000-0000-0000-0000-000000000000",
"person_id": "00000000-0000-0000-0000-000000000000"
}
]
}