Streamio API Documentation

Subtitles - Update

Update a subtitle 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/subtitles/subtitle_id.format

Request Method

PUT

Parameters

  • title The title of the subtitle.
  • display_title The display title of the subtitle shown in the player
  • description A textual description of the subtitle
  • contents The WebVTT content
  • language 2-letter ISO 639-1 language code
  • tags The tags you wish to set for the subtitle. Multiple tags are separated by comma.

Response

Code

204

Examples

A simple update

Just remember to PUT and you'll be fine.

curl -u username:password \
     -X PUT \
     -d "title=Swedish&language=sv" \
     https://streamio.com/api/v1/subtitles/4c483ea1bf4b9802c5000029.json