Favorites
Last updated
Was this helpful?
Last updated
Was this helpful?
GET /api/v1/users/self/favorites/courses
Scope: url:GET|/api/v1/users/self/favorites/courses
Retrieve the paginated list of favorite courses for the current user. If the user has not chosen any favorites, then a selection of currently enrolled courses will be returned.
See the for details on accepted include[] parameters.
exclude_blueprint_courses
boolean
When set, only return courses that are not configured as blueprint courses.
GET /api/v1/users/self/favorites/groups
Scope: url:GET|/api/v1/users/self/favorites/groups
Retrieve the paginated list of favorite groups for the current user. If the user has not chosen any favorites, then a selection of groups that the user is a member of will be returned.
POST /api/v1/users/self/favorites/courses/:id
Scope: url:POST|/api/v1/users/self/favorites/courses/:id
Add a course to the current user’s favorites. If the course is already in the user’s favorites, nothing happens. Canvas for Elementary subject and homeroom courses can be added to favorites, but this has no effect in the UI.
id
Required string
The ID or SIS ID of the course to add. The current user must be registered in the course.
POST /api/v1/users/self/favorites/groups/:id
Scope: url:POST|/api/v1/users/self/favorites/groups/:id
Add a group to the current user’s favorites. If the group is already in the user’s favorites, nothing happens.
id
Required string
The ID or SIS ID of the group to add. The current user must be a member of the group.
DELETE /api/v1/users/self/favorites/courses/:id
Scope: url:DELETE|/api/v1/users/self/favorites/courses/:id
Remove a course from the current user’s favorites.
id
Required string
the ID or SIS ID of the course to remove
DELETE /api/v1/users/self/favorites/groups/:id
Scope: url:DELETE|/api/v1/users/self/favorites/groups/:id
Remove a group from the current user’s favorites.
id
Required string
the ID or SIS ID of the group to remove
DELETE /api/v1/users/self/favorites/courses
Scope: url:DELETE|/api/v1/users/self/favorites/courses
Reset the current user’s course favorites to the default automatically generated list of enrolled courses
DELETE /api/v1/users/self/favorites/groups
Scope: url:DELETE|/api/v1/users/self/favorites/groups
Reset the current user’s group favorites to the default automatically generated list of enrolled group
Returns a list of objects.
Returns a list of objects.
Returns a object.
Returns a object.
Returns a object.
Returns a object.
This documentation is generated directly from the Canvas LMS source code, available .