- Source:
Functions for other endpoints
Methods
endpoint(opts, configopt) → {Promise.<any>}
- Source:
Send a request to a Canvas endpoint that's not in this library. Note:
use this sparingly. Instead, please request that we add the endpoint to
caccl.
Parameters:
Name | Type | Attributes | Description | ||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
opts |
object | object containing all arguments
Properties
|
|||||||||||||||||||||
config |
APIConfig |
<optional> |
custom configuration for this specific endpoint call (overwrites defaults that were included when api was initialized) |
Returns:
body of Canvas response
- Type
- Promise.<any>