8e7584c449dc

latestOpenAPI 3.0.02026-07-24212113249.1 KB
Media

Add photo

post/medias/photo

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 photo file. Enum

widthnumber required

Width of image

heightnumber required

Height of image

imgPathstring required

The URL of the image file

Example request

{
  "width": 1920,
  "height": 1080,
  "imgPath": "www.fanhero.com/medias/image.png"
}

Response

Image media created.