Videos - Update
Update a video on your account with the specified parameters. Don't forget to specify PUT as the request method as GET will call the show action rather than update.
Request
Url
https://streamio.com/api/v1/videos/video_id.format
Request Method
PUT
Parameters
-
title
The title of the video.
-
tags
The tags you wish to set for the video. Multiple tags are separated by comma.
-
description
A textual description of the video.
-
image_id
The id of an image in your account you wish to use for the video.
-
default_subtitle_id
The id of the subtitle that should be activated by default.
-
enable_password_protection
Enable password protection on the video clip
-
password
Manually override the automatically generated password
Response
Code
204
Examples
A simple update
Just remember to PUT and you'll be fine.
curl -u username:password \
-X PUT \
-d "title=New Awesome Title&tags=some,awesome,tags&image_id=4c3c6f1cbf4b9808ea000006" \
https://streamio.com/api/v1/videos/4c483ea1bf4b9802c5000029.json