Pular para o conteúdo principal
POST
Upload an MP4 asset

Autorizações

X-API-Key
string
header
obrigatório

Partner API key (ck_…). Created by Interactive Layers; shown only once.

Corpo

multipart/form-data
file
file
obrigatório

MP4 video with H.264 8-bit video and AAC/MP3 audio if present

title
string
padrão:Video
ad_free
boolean
padrão:false
temporary
boolean
padrão:false

Schedule removal after one hour, including abandoned analyses.

Resposta

Successful Response

asset_id
string
obrigatório
title
string
obrigatório
source_kind
enum<string>
obrigatório
Opções disponíveis:
upload,
mp4,
hls
version
string
obrigatório

Version of the source validated at import

status
enum<string>
obrigatório
Opções disponíveis:
ready,
changed
ad_free
boolean
obrigatório
immutable
boolean
obrigatório
created_at
number
obrigatório

Unix timestamp in seconds

metadata
AssetMetadata · object
obrigatório
source
string | null
obrigatório

Redacted CDN source; null for uploads

playback_url
string
obrigatório

Private relative URL. Use the same authentication as the asset request.

thumbnail_url
string
obrigatório

Private relative URL for the thumbnail, if available

analysis
AssetAnalysis · object | null
obrigatório