tshek
New Member

Can I use Canvas Studio API to upload media file for a user?

I'd like to upload a media file from a URL to a Canvas Studio user's "My Uploads". I see that there is a Canvas Studio Public API that might do what I want. From looking at the public API, questions I have are:

1) Is there more documentation for the API that I just haven't found yet?

2) How do I get an authorization token for the API? I tried my Canvas authorization token, but it doesn't seem to work.

3) Whose user account does the media get uploaded to? API does not seem to specify a target user for the upload.

Thanks for any pointers!

-t

Labels (2)
0 Kudos
4 Replies
mcarrick1
New Member

Hi Terence, 
I just noticed this post by eallen‌ that might help you out. She shows how to use the OAuth workflow to authenticate.

https://community.canvaslms.com/docs/DOC-17723 

It looks like those docs could do with some examples.

Myles

0 Kudos

Hello Myles,

Thanks for taking the time to respond to my posting. It turns out that what we need is a server-to-server API call that is not happening in the context of a specific user, so it's not an oAuth type scenario. We want something like Canvas's file upload API. As far as we can tell, Studio currently does not support this, unfortunately. But many thanks for responding!

-terence

0 Kudos

hi Terence, have you find the solution for uploading the media to canvas studio using the API

0 Kudos
logesh
New Member

Even, I have the same  issue someone can help with that.

0 Kudos