-
Notifications
You must be signed in to change notification settings - Fork 1
Submissions
Antonius Cezar Hegyes edited this page Jan 13, 2015
·
9 revisions
The following URL structure exists for this controller:
api/Courses/{courseId}/Submissions/{action}/{submissionId : optional}
The following calls are currently available for the Submissions controller:
- Description: Retrieves a list of all available submissions.
- Response Format: JSON of IEnumerable<SubmissionModel>
- Parameters: None
- Permissions: CanSeeAllSubmissions
- Description: Retrieves a list of all available submissions for a certain course.
- Response Format: JSON of IEnumerable<SubmissionModel>
- Permissions: CanSeeSubmissions
- Description: Retrieves the details of a particular submission belonging to a certain course.
- Response Format: JSON of SubmissionModel
- Permissions: CanSeeSubmissions
- Description: Add a new submission.
- Response Format: JSON of the added SubmissionModel
- Parameters: The request needs to contain the header 'multipart/form-data' and submit the file together with the FileModelExtension. For more information on how to add submissions / upload files, please see this page.
- Permissions: CanCreateSubmissions
- Description: Delete an existing submission.
- Response Format: HttpStatusCode
- Permissions: CanDeleteSubmissions