-
Notifications
You must be signed in to change notification settings - Fork 1
Extensions
Antonius Cezar Hegyes edited this page Jan 20, 2015
·
9 revisions
The following URL structure exists for this controller:
api/Courses/{courseId}/Extensions/{action}/{extensionId : optional} api/Courses/{courseId}/Extensions/{action}/{userId : int}
The following calls are currently available for the Extensions controller:
- Description: Retrieves a list of all available Extensions.
- Response Format: JSON of IEnumerable<ExtensionModel>
- Permissions: CanSeeAllExtensions
- Description: Retrieves a list of all available Extensions for this course.
- Response Format: JSON of IEnumerable<ExtensionModel>
- Permissions: CanGrantExtensions
- Description: Add a extension for a certain user / team to a certain course. This does NOT update the ExtensionNumber property of CourseUserModel
- Response Format: HttpStatusCode
- Parameters: {extension} of type ExtensionModel (JSON in the body of the message)
- Permissions: None
- Description: Update an existing extension for a user / team.
- Response Format: HttpStatusCode
- Parameters: {extension} of type ExtensionModel (JSON in the body of the message)
- Permissions: CanGrantExtensions
- Description: Delete an existing extension for a user / team.
- Response Format: HttpStatusCode
- Permissions: CanGrantExtensions