upload_file | R Documentation |
This function uploads a file to the files folder of a specific course.
upload_file(canvas, course_id, file_name)
canvas |
An object containing the Canvas API key and base URL, obtained through the |
course_id |
The ID of the course where the file will be uploaded. |
file_name |
The file to be uploaded. |
A confirmation message indicating that the file has been uploaded.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.