Captions

List all available captions for the given media

get
Authorizations
AuthorizationstringRequired
Path parameters
media_idinteger · int64Required

The ID of the media.

Responses
get
/media/{media_id}/caption_files

Create a new caption for the given media

post
Authorizations
AuthorizationstringRequired
Path parameters
media_idinteger · int64Required

The ID of the media.

Query parameters
srclangstringRequired

The language of the caption.

Body
caption_filestringRequired

The file to be uploaded.

Responses
201

The caption object that was created.

application/json
post
/media/{media_id}/caption_files

Download a caption by id

get
Authorizations
AuthorizationstringRequired
Path parameters
caption_file_idinteger · int64Required

The ID of the caption.

Responses
get
/caption_files/{caption_file_id}/download

No content

Last updated

Was this helpful?