Update a caption
Update caption settings.
Path parameters
The unique identifier for the video you want to have automatic captions for.
A valid language identifier using IETF language tags. You can use primary subtags like en (English), extended subtags like fr-CA (French, Canada), or region subtags like zh-Hans-CN (Simplified Chinese used in the PRC).
- This parameter only accepts dashes for separators, for example fr-CA. If you use a different separator in your request, the API returns an error.
- When the value in your request does not match any covered language, the API returns an error.
- You can find the list of supported tags here.
Request body
Response
Success
Example response
{
"default": false,
"src": "https://cdn.api.video/vod/vi1111DinStg3oBbN79GklWS/captions/sr-Cyrl.vtt",
"srclang": "sr-Cyrl",
"uri": "/videos/vi1111DinStg3oBbN79GklWS/captions/sr-Cyrl",
"languageName": "српски (ћирилица)"
}Changes
Changed in 4 of the 50 revisions of this API.107
- ○
added the non-success response with the status
429response-non-success-status-added
- ○
- ○
added the optional property
languageNameto the response with the200statusresponse-optional-property-added
- ○
- ○
the endpoint scheme security
apiKeywas added to the APIapi-security-added
- ○
the endpoint scheme security
bearerAuthwas removed from the APIapi-security-removed
This revision also has 1 change that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
the optional response header
X-RateLimit-Limitremoved for the status200optional-response-header-removed
- ●
the optional response header
X-RateLimit-Limitremoved for the status400optional-response-header-removed
- ●
the optional response header
X-RateLimit-Limitremoved for the status404optional-response-header-removed
- ●
the optional response header
X-RateLimit-Remainingremoved for the status200optional-response-header-removed
- ●
the optional response header
X-RateLimit-Remainingremoved for the status400optional-response-header-removed
- ●
the optional response header
X-RateLimit-Remainingremoved for the status404optional-response-header-removed
- ●
the optional response header
X-RateLimit-Retry-Afterremoved for the status200optional-response-header-removed
- ●
the optional response header
X-RateLimit-Retry-Afterremoved for the status400optional-response-header-removed
- ●
the optional response header
X-RateLimit-Retry-Afterremoved for the status404optional-response-header-removed
- ●
removed the optional property
languageNamefrom the response with the200statusresponse-optional-property-removed
- ○
the endpoint scheme security
bearerAuthwas added to the APIapi-security-added
- ○
the endpoint scheme security
apiKeywas removed from the APIapi-security-removed
- ○
removed the non-success response with the status
429response-non-success-status-removed
This revision also has 32 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
Of the 50 revisions, 1 has no diff computed.