Upload with an delegated upload token
POST {{baseUrl}}/upload?token=<string>
Uploading a video with the delegated upload token.
Request Params
Key | Datatype | Required | Description |
---|---|---|---|
token | string | (Required) The unique identifier for the token you want to use to upload a video. |
Request Body
[{"name"=>"file", "value"=>"<string>", "datatype"=>"string"}, {"name"=>"videoId", "value"=>"<string>", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Range | string | Content-Range represents the range of bytes that will be returned as a result of the request. Byte ranges are inclusive, meaning that bytes 0-999 represents the first 1000 bytes in a file or object. | |
Content-Type | string | ||
Accept | string |
RESPONSES
status: Created
{"videoId":"\u003cstring\u003e","createdAt":"\u003cdateTime\u003e","title":"\u003cstring\u003e","description":"\u003cstring\u003e","publishedAt":"\u003cdateTime\u003e","updatedAt":"\u003cdateTime\u003e","tags":["\u003cstring\u003e","\u003cstring\u003e"],"metadata":[{"key":"\u003cstring\u003e","value":"\u003cstring\u003e"},{"key":"\u003cstring\u003e","value":"\u003cstring\u003e"}],"source":{"uri":"\u003cstring\u003e","type":"\u003cstring\u003e","liveStream":{"liveStreamId":"\u003cstring\u003e","links":[{"rel":"\u003cstring\u003e","uri":"\u003cstring\u003e"},{"rel":"\u003cstring\u003e","uri":"\u003cstring\u003e"}]}},"assets":{"hls":"\u003curi\u003e","iframe":"\u003cstring\u003e","player":"\u003curi\u003e","thumbnail":"\u003curi\u003e","mp4":"\u003curi\u003e"},"playerId":"\u003cstring\u003e","public":"\u003cboolean\u003e","panoramic":"\u003cboolean\u003e","mp4Support":"\u003cboolean\u003e"}