Videos\Text tracks
Edit a text track
Changed onThis method edits the specified text track.
patch/videos/{video_id}/texttracks/{texttrack_id}
Request
- Base URLhttps://api.vimeo.com
- AuthOAuth 2Authorization code/oauth/authorize, token URL /oauth/access_tokenClient credentialsToken URL /oauth/authorize/clientScopesedit
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
texttrack_idnumber required
Example:12345
The ID of the text track.
video_idnumber required
Example:258684937
The ID of the video.
Request body
Example request
{
"active": true,
"language": "en-US",
"name": "Commentary"
}Response
The text track was edited.
Example response
{
"active": true,
"hls_link_expires_time": "1494888499",
"language": "en-US",
"link_expires_time": "1494888499",
"name": "English Subtitles",
"type": "captions",
"uri": "/videos/258684937/texttracks/12345"
}Changes
- info
api tag
Videos\Text tracksadded - info
api tag
Videos\Text Tracksremoved
- info
- info
api tag
Videos\Text Tracksadded - info
api tag
Videos\Text tracksremoved
- info