Streamio API Documentation

Videos - Upload using Pull

Upload a very large file by requesting that Streamio downloads it from a publicly available url. Requires a token generated from Create Token.

Request

Url

https://streamio.com/api/v1/videos/pull.format

Request Method

POST

Parameters

  • upload_token The previously generated token. This will contain all metadata necessary for the video. *required
  • pull_url The publicly available URL you wish to pull the video file from. *required
  • pull_filename The filename of the video file, this is an important override if it's not obvious from pull_url. *recommended
  • callback_url A callback URL that will receive metadata (such as video id) upon finished upload. *optional

Response

Code

200

Body

Examples

A simple create

Simplest case scenario with optional title and tags

curl -u username:password \
-F upload_token="xxJhbGciOiJIUzI1NiJ9.eyJ0aXRsZSI6Ik15IFZpZGVvIFRpdGxlIiwidGFncyI6InRhZzEsdGFnMiIsImFwaV90b2tlbiI6dHJ1ZSwiYWNjb3VudF9pZCI6IjYwNTg3ZmJlYWU5ZWQ2Y2YyMjAwMDAxNSIsImV4cCI6MTY3Njk4NjQzMn0.7fDpyI18yNHa2fAyAq-2-3Qu5LBmvTTJzLi4QPOnl2I" \
-F pull_url="https://llplayer.rackfish.com/Big_Buck_Bunny_1080_10s_30MB.mp4" \
-F pull_filename="myUpload.mp4" \
https://streamio.com/api/v1/videos/pull.json