public interface SectionReader extends CanvasReader<Section,SectionReader>
| Modifier and Type | Method and Description |
|---|---|
Optional<Section> |
getSingleSection(String sectionId)
Return a single section with a given section ID
|
List<Section> |
listCourseSections(String courseId,
List<SectionIncludes> includes)
Return a list of sections in a given course
|
readAsCanvasUser, readAsSisUser, withCallbackList<Section> listCourseSections(String courseId, List<SectionIncludes> includes) throws IOException
courseId - Canvas ID of courseincludes - Optional information to include in the returned sectionsIOException - When there is an error communicating with CanvasOptional<Section> getSingleSection(String sectionId) throws IOException
sectionId - Section ID of sectionIOException - When there is an error communicating with CanvasCopyright © 2021 Kansas State University, Office of Mediated Education. All rights reserved.