I would like to upload a Video over the Etsy API Call Module.
Using this URL: shops/{shop_id}/listings/{listing_id}/videos
(according to ETSY API documentation: Reference | Etsy Open API v3)
The Body should be:
{
- “video_id”: 1,
- “height”: 0,
- “width”: 0,
- “thumbnail_url”: “string”,
- “video_url”: “string”,
- “video_state”: “active”
}
Which link I could use under “video_url”: “string”? The Google Drive Link is not working and if I first user the Download Module it doesn’t really generates me a link.
Thanks for any help!
1 Like
HI @b_onmas,
Google Drive is not a valid option for the video url. You will need a direct link, something that ends in .mp4 for example. You can think of Google Drive as a viewing service not a link that provides a video to be consumed by an api directly. Some options you can use are amazon S3, Cloudinary the URL will look something like this:
https://myvideobucket.s3.amazonaws.com/my-video.mp4
Hope this helps!
-@Trainward_Consulting
1 Like
Thank you. I know that I can’t use the Google Drive Link. But I thought there might be a workaround.
Like using the Module “Download from Google Drive” and then use it directly from make. As this works as well with the predefined Image Module for Etsy.
1 Like
Hi @b_onmas,
“Download from Google Drive” would give you the raw binary content of the file which cannot be used as an input for the video_url field. In general you can use the file/video contents as an input on multipart/form-data api call to an endpoint like /video/upload to Cloudinary or an AWS Gateway. So some intermediary steps seem to be required in your flow.
-@Trainward_Consulting