List files in a folder or course
Usage
list_files(
folder_id = NULL,
course_id = Sys.getenv("CANVASQUIZ_COURSE_ID"),
url = Sys.getenv("CANVASQUIZ_URL"),
token = Sys.getenv("CANVASQUIZ_TOKEN")
)Arguments
- folder_id
The ID of the folder to list files from. If NULL, lists files in the course.
- course_id
The course id. Defaults to the value of the
CANVASQUIZ_COURSE_IDenvironment variable.- url
The canvas url. Defaults to the value of the
CANVASQUIZ_URLenvironment variable.- token
The canvas token. Defaults to the value of the
CANVASQUIZ_TOKENenvironment variable.