Skip to main content
POST
Create media

Autorisierungen

Authorization
string
header
erforderlich

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Header

Idempotency-Key
string

Body

application/json
inputFileId
string
erforderlich
type
enum<string>
erforderlich
Verfügbare Optionen:
video,
image,
logo,
intro-video,
outro-video

Antwort

200 - application/json

Media created

id
string
erforderlich
type
enum<string>
erforderlich
Verfügbare Optionen:
video,
image,
logo,
intro-video,
outro-video
url
string<uri>
erforderlich
status
enum<string>
erforderlich
Verfügbare Optionen:
processing,
ready,
failed
error
string | null
erforderlich
width
number
erforderlich
height
number
erforderlich
createdAt
string
erforderlich
updatedAt
string
erforderlich
previewUrl
string<uri> | null