Showing results for 
Show  only  | Search instead for 
Did you mean: 
New Member

Import course content through API with a file upload

Hello all,

I was wondering if anybody else in the Canvas world was importing course content through the API.  I looked at the API page but it doesn't seem to clear to on the whole process.  The part I'm not clear on is the file upload process. How does that file get associated with the content migration?  Any help would be appreciated

Labels (1)
1 Reply
New Member

It's documented here, under the "Folders" section (instead of "Files" where you might expect it).

Basically, you send a properly formatted request to the aforementioned endpoint, and it'll give you some AWS uploading info. Using that info, upload it as described.

For an example, look at the network requests for when you upload any old file to one of your folders.