-
Notifications
You must be signed in to change notification settings - Fork 1
Tasks
Antonius Cezar Hegyes edited this page Jan 13, 2015
·
6 revisions
The following URL structure exists for this controller:
api/Courses/{courseId}/Tasks/{action}/{taskId : optional}
The following calls are currently available for the Tasks controller:
- Description: Retrieves a list of all available tasks.
- Response Format: JSON of IEnumerable<TaskModel>
- Permissions: CanSeeAllTasks
- Description: Retrieves a list of all available tasks for a certain course.
- Response Format: JSON of IEnumerable<TaskModel>
- Permissions: CanSeeTasks
- Description: Retrieves the details of a particular task.
- Response Format: JSON of TaskModel
- Permissions: CanSeeTasks
- Description: Retrieves the Grade Component to which this task belongs.
- Response Format: JSON of GradeComponentModel
- Permissions: CanSeeGradedParts
- Description: Add a new task.
- Response Format: JSON of the added TaskModel
- Parameters: {task} of type TaskModel (JSON in the body of the message)
- Permissions: CanCreateTasks
- Description: Update an existing task.
- Response Format: JSON of the updated TaskModel
- Parameters: {task} of type TaskModel (JSON in the body of the message)
- Permissions: CanUpdateTasks
- Description: Delete an existing task.
- Response Format: HttpStatusCode
- Permissions: CanDeleteTasks