Video Captions

List captions of a video

GET
https://peertube2.cpy.re/api/v1/videos/{id}/captions

Parameters

idid | UUIDv4 | shortUUIDrequiredpath

The object id, uuid or short uuid

x-peertube-video-passwordstringheader

Required on password protected video

Response

200OKobject

successful operation

Response fields application/json
totalinteger
Example
1
Show child attributes
Show child attributes

language id of the video (see /videos/languages)

Example
en
labelstring
Example
English
automaticallyGeneratedboolean
captionPathstring | nulldeprecated

Deprecated in PeerTube v8.0, use fileUrl instead. Null if the file is stored in object storage: use the non-deprecated field instead.

fileUrlstring

PeerTube >= 7.1

m3u8Urlstring
updatedAtstring<date-time>