Video API, gRPC: SubtitleService.Get
Written by
Updated at November 26, 2024
Return a specific subtitle.
gRPC request
rpc Get (GetSubtitleRequest) returns (Subtitle)
GetSubtitleRequest
{
"subtitle_id": "string"
}
Field |
Description |
subtitle_id |
string Required field. ID of the subtitle. |
Subtitle
{
"id": "string",
"language": "string",
"label": "string",
"status": "SubtitleStatus",
"filename": "string",
"created_at": "google.protobuf.Timestamp",
"updated_at": "google.protobuf.Timestamp",
// Includes only one of the fields `video_id`
"video_id": "string"
// end of the list of possible fields
}
Field |
Description |
id |
string ID of the subtitle. |
language |
string Subtitle language represented as a three-letter ISO 639-3 code. |
label |
string Subtitle caption to be displayed on screen during video playback. |
status |
enum SubtitleStatus Subtitle status.
|
filename |
string Subtitle filename. |
created_at |
Time when subtitle was created. |
updated_at |
Time of last subtitle update. |
video_id |
string ID of the video. Includes only one of the fields |