| Package | Description |
|---|---|
| edu.ksu.canvas.impl |
Default implementations for Canvas API calls.
|
| edu.ksu.canvas.interfaces |
Interfaces defining Canvas API functionality
|
| edu.ksu.canvas.requestOptions |
Classes to encapsulate parameters that get passed to API calls.
|
| Modifier and Type | Method and Description |
|---|---|
List<Course> |
CourseImpl.listCurrentUserCourses(ListCurrentUserCoursesOptions options) |
| Modifier and Type | Method and Description |
|---|---|
List<Course> |
CourseReader.listCurrentUserCourses(ListCurrentUserCoursesOptions options)
Returns the list of active courses for the current user
|
| Modifier and Type | Method and Description |
|---|---|
ListCurrentUserCoursesOptions |
ListCurrentUserCoursesOptions.includes(List<ListCurrentUserCoursesOptions.Include> includes)
Include additional optional fields in the course objects
|
ListCurrentUserCoursesOptions |
ListCurrentUserCoursesOptions.states(List<ListCurrentUserCoursesOptions.State> states)
If set, only return courses that are in the given state(s)
|
ListCurrentUserCoursesOptions |
ListCurrentUserCoursesOptions.withEnrollmentRoleId(Integer roleId)
When set, only return courses where the user is enrolled with the specified course-level role
|
ListCurrentUserCoursesOptions |
ListCurrentUserCoursesOptions.withEnrollmentType(ListCurrentUserCoursesOptions.EnrollmentType enrollmentType)
When given, only return courses where the user is enrolled as the given type(s)
|
Copyright © 2021 Kansas State University, Office of Mediated Education. All rights reserved.