public interface ExternalToolReader extends CanvasReader<ExternalTool,ExternalToolReader>
| Modifier and Type | Method and Description |
|---|---|
Optional<ExternalTool> |
getExternalToolInAccount(String accountId,
Integer toolId)
Retrieve a specific external tool configuration in a given account
|
Optional<ExternalTool> |
getExternalToolInCourse(String courseId,
Integer toolId)
Retrieve a specific external tool configuration in a given course
|
List<ExternalTool> |
listExternalToolsInAccount(ListExternalToolsOptions options)
Return a list of external tools registered to an account
|
List<ExternalTool> |
listExternalToolsInCourse(ListExternalToolsOptions options)
Return a list of external tools registered to a course
|
List<ExternalTool> |
listExternalToolsInGroup(ListExternalToolsOptions options)
Return a list of external tools registered to a group
|
readAsCanvasUser, readAsSisUser, withCallbackOptional<ExternalTool> getExternalToolInAccount(String accountId, Integer toolId) throws IOException
accountId - The Canvas ID or sis_account_id:[SIS ID] for the account to querytoolId - The Canvas ID of the tool to queryIOException - if there is an error communicating with CanvasOptional<ExternalTool> getExternalToolInCourse(String courseId, Integer toolId) throws IOException
courseId - The Canvas ID or sis_course_id:[SIS ID] for the course to querytoolId - The Canvas ID of the tool to queryIOException - if there is an error communicating with CanvasList<ExternalTool> listExternalToolsInAccount(ListExternalToolsOptions options) throws IOException
options - Parameters that alter which tools are returned by this callIOException - if there is an error communicating with CanvasList<ExternalTool> listExternalToolsInCourse(ListExternalToolsOptions options) throws IOException
options - Parameters that alter which tools are returned by this callIOException - if there is an error communicating with CanvasList<ExternalTool> listExternalToolsInGroup(ListExternalToolsOptions options) throws IOException
options - Parameters that alter which tools are returned by this callIOException - if there is an error communicating with CanvasCopyright © 2021 Kansas State University, Office of Mediated Education. All rights reserved.