Streamio API Documentation

Videos - Add Source Share

Adds a Source Share to an available video. Don't forget to use POST as the request method.

Request

Url

https://streamio.com/api/v1/videos/video_id/source_shares.format

Request Method

POST

Parameters

  • title The internal title of the source share.
  • max_downloads The maximum number of downloads allowed for the source share.
  • expiration_hours The number of hours until the source share expires.

Response

Code

201

Examples

A simple create

Pretending we have a video with id 68710dfa866a47b7f000006a and we wish to add a new source share.

curl -u username:password \
     -F title="Download for evaluation" \
     -F max_downloads=5 \
     -F expiration_hours=24 \
     https://streamio.com/api/v1/videos/68710dfa866a47b7f000006a/source_shares.json