Skip to navigation

Upload asset subtitle

Upload subtitle for asset

Authentication

AuthorizationBearer

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

Path parameters

idstringRequired
Unique identifier of an asset

Query parameters

pac_code_pageenumOptional

Code page (only PAC subtitles)

pac_offsetstringOptional

Offset (only PAC and VTT subtitles)

subtitle_languagestringRequired
Language of subtitle
subtitle_typeenumOptionalDefaults to NORMAL
Type of subtitle
Allowed values:
stream_namestringOptional
Subtitle stream name

Request

This endpoint expects a multipart form containing a file.
subtitle_filefileRequired
File to be uploaded as asset subtitle

Response

OK

Errors

401
Unauthorized Error
403
Forbidden Error
404
Not Found Error