v1

latestOpenAPI 3.0.02026-07-24212113249.1 KB
Media

Add video

post/medias/video

Headers

channelstring required

Channel ID

organizationstring required

The URL of the end-user web application

Request body

filenamestring required

File name

status'Uploading' | 'Uploaded' | 'Transcoding' | 'Ready' | 'Ingest' | 'Processing' | 'Complete' | 'ImageComplete' | 'AudioComplete' | 'SubtitleComplete' required

The current status of the video file. Enum

widthnumber required

Width of the video

heightnumber required

Height of the video

durationnumber required

The duratio nfo the video

mp4Pathstring required

URL of the MP4 file

mp4VodUrlstring required
orientation'landscape' | 'portrait' required

The oreientation of the video content. Enum

Example request

{
  "width": 1920,
  "height": 1080,
  "duration": 10000,
  "mp4Path": "www.fanhero.com/medias/video.mp4",
  "mp4VodUrl": "www.fanhero.com/medias/video.mp4",
  "orientation": "landscape"
}

Response

Video media created.