Uploads an image file to Canvas using the file upload API documented at https://canvas.instructure.com/doc/api/file.file_uploads.html.
Arguments
- name
Path to image on local system (can be relative to the current working directory).
- parent_folder_path
Path of parent folder in the Canvas course where the file will be uploaded (relative to the course root folder). This only affects where you could find it using Canvas' image selector; the URL to the image always follows the flat structure shown in Examples.