.course. folder

Source:
Functions for interacting with folders within courses

Methods

(async) list(opts, configopt) → {Promise.<CanvasFolder>}

Source:
Author:
  • Yuen Ler Chow
Lists the folders in a course
Parameters:
Name Type Attributes Description
opts object object containing all arguments
Properties
Name Type Attributes Default Description
courseId number <optional>
default course id Canvas course Id to query
config APIConfig <optional>
custom configuration for this specific endpoint call (overwrites defaults that were included when api was initialized)
Returns:
Type
Promise.<CanvasFolder>