A subtitle object represents a file resource containing closed captioning for a given video.
Collect subtitle object data
To retrieve a specific subtitle object, perform a GET request on /subtitle/<SUBTITLE_ID>.
By default, only a small number of fields marked as default are returned (such as the object identifier), please refer to the complete field list.
Create subtitle object
To create an object of type subtitle, perform a POST request on the connection available through the video graph object.
Join all the fields you want to specify and their value as an application/x-www-form-urlencoded payload.
Please note that, for creation, some fields and/or specific query-string parameters could be mandatory, please refer to the field list below.
Parameter | Description | Type |
|---|---|---|
format | Data format SRT only is supported, if you have an other format please convert it to SRT. | string |
language | Language of these subtitles. | string |
url | On GET, the URL pointing to the latest version of the subtitles. | url |
Delete subtitle object
To delete an object of type subtitle, perform a DELETE request on /subtitle/<SUBTITLE_ID>.
If you do not receive any error (empty result set), it means that the deletion was successful.
