public interface PageReader extends CanvasReader<Page,PageReader>
| Modifier and Type | Method and Description |
|---|---|
Optional<Page> |
getCoursePage(String courseId,
String pageUrl)
Retrieve a specified page associated with a course.
|
Optional<Page> |
getGroupPage(String groupId,
String pageUrl)
Retrieve a specified page associated with a group.
|
List<Page> |
listPagesInCourse(String courseId)
Get a list of pages in a course.
|
List<Page> |
listPagesInGroup(String groupId)
Get a list of pages in a group.
|
readAsCanvasUser, readAsSisUser, withCallbackOptional<Page> getCoursePage(String courseId, String pageUrl) throws IOException
courseId - The Canvas course IDpageUrl - The unique URL identifier of a page within the courseIOException - When there is an error communicating with CanvasOptional<Page> getGroupPage(String groupId, String pageUrl) throws IOException
groupId - The Canvas group IDpageUrl - The unique URL identifier of a page within the groupIOException - When there is an error communicating with CanvasList<Page> listPagesInCourse(String courseId) throws IOException
courseId - Canvas ID of the courseIOException - When there is an error communicating with CanvasList<Page> listPagesInGroup(String groupId) throws IOException
groupId - Canvas Group ID of the groupIOException - When there is an error communicating with CanvasCopyright © 2021 Kansas State University, Office of Mediated Education. All rights reserved.