For Developers
Reclaim Submission
POST https://ed.link/api/v2/my/classes/:class\_id/assignments/:assignment\_id/reclaim
As a student, reclaim your Submission. This will update the state
of the submission to reclaimed
. In order to reclaim the submission, it must be in the submitted
state.
Request 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.post(`https://ed.link/api/v2/my/classes/${class_id}/assignments/${assignment_id}/reclaim`, {
headers: {
authorization: `Bearer ${person_access_token}`
}
});
Sample Response
The response contains the updated Submission object.
{
"$request": "00000000-0000-0000-0000-000000000000",
"$data": {
"flags": [],
"state": "reclaimed",
"created_date": "2022-01-27T17:10:09.702Z",
"attempts": [
{
"body": {
"type": "link",
"url": "https://google.com"
},
"created_date": "2022-01-27T17:10:09.702Z"
},
{
"body": {
"type": "text",
"url": "This is the body of a text submission."
},
"created_date": "2022-01-27T17:10:09.702Z"
}
],
"override_due_date": "2022-01-29T23:59:59.000Z",
"id": "00000000-0000-0000-0000-000000000000",
"person_id": "00000000-0000-0000-0000-000000000000"
}
}