Skip to main content Skip to navigation

Download a single file from a submission

Download a single file from a submission.

Permission requirements

The user must have Permissions.Submission.Read ("View a coursework submission") on the submission. By default, roles that have this permission are:

  • Marker
  • Module Auditor
  • Module Assistant
  • Module Manager
  • Departmental Administrator
  • User Access Manager

Information about API permissions

Definition

GET https://tabula.warwick.ac.uk/api/v1/module/:moduleCode/assignments/:assignmentId/submissions/:submissionId/:filename

URL substitution variables

:moduleCode The lowercase form of the module code for the assignment, e.g. cs118
:assignmentId The unique identifier for the assignment
:submissionId The unique identifier for the submission
:filename The filename of the submitted file

Example request

GET https://tabula.warwick.ac.uk/api/v1/module/cs118/assignments/1a5b1b55-dd02-4a0c-83b7-29b90a771803/submissions/e322dc9a-3ff8-4ad7-9297-770d3e60194a/assignment_cover_sheet.doc

Response parameters

An unsuccessful response will be returned in the standard format. A successful response will return the HTTP code 200 OK and will contain the file in the response body.

Tabula API Methods