For Developers

Download Submission File

This endpoint is only supported by integrations using Canvas or Schoology data sources.

Download a File associated with a Submission. Although other types of items may be attached to submission attempts, only files can be downloaded.

GET https://ed.link/api/v2/my/classes/:class_id/assignments/:assignment_id/submissions/:submission_id/files/:file_id/download

Request Parameters

| Parameter | Type | Description | | --------------- | -------- | ----------------------------------------------------------------------- | --- | | class_id | string | The UUID of the desired Class. | | assignment_id | string | The UUID of the desired Assignment. | | submission_id | string | The UUID of the desired Submission. | | | file_id | string | The UUID of the desired File. |

Sample Request

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