Create a video object
POST {{baseUrl}}/videos
Creates a video object. More information on video objects can be found here.
Request Body
{"title"=>"<string>", "description"=>"<string>", "source"=>"<string>", "public"=>true, "panoramic"=>false, "mp4Support"=>true, "playerId"=>"<string>", "tags"=>["<string>", "<string>"], "metadata"=>[{"key"=>"<string>", "value"=>"<string>"}, {"key"=>"<string>", "value"=>"<string>"}], "clip"=>{"startTimecode"=>"2", "endTimecode"=>"0"}, "watermark"=>{"id"=>"<string>", "top"=>"<string>", "left"=>"<string>", "bottom"=>"<string>", "right"=>"<string>", "width"=>"<string>", "height"=>"<string>", "opacity"=>"<string>"}}
HEADERS
Key | Datatype | Required | Description |
---|---|---|---|
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"}