Upload a video
POST {{baseUrl}}/videos/:videoId/source
Ingest a video from a source or file.
Request Body
[{"name"=>"file", "value"=>"<string>", "datatype"=>"string"}]
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
Content-Range | null | part <part>/<total_parts> ; bytes <from_byte>-<to_byte>/<total_bytes> | |
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"}