Video API, gRPC: SubtitleService.Get
Retrieves detailed information about a specific subtitle by its ID.
Returns all subtitle metadata and related information.
gRPC request
rpc Get (GetSubtitleRequest) returns (Subtitle)
GetSubtitleRequest
{
"subtitle_id": "string"
}
|
Field |
Description |
|
subtitle_id |
string Required field. ID of the subtitle to retrieve. The maximum string length in characters is 50. |
Subtitle
{
"id": "string",
"language": "string",
"label": "string",
"status": "SubtitleStatus",
"source_type": "SubtitleSourceType",
"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
}
Entity representing a subtitle track that can be associated with a video.
Subtitles provide text versions of the audio content, enabling accessibility
and multilingual support for video content.
|
Field |
Description |
|
id |
string Unique identifier of the subtitle track. |
|
language |
string Language of the subtitle content according to ISO 639-2/T. |
|
label |
string Display label for the subtitle track shown in the video player's subtitle selection menu. |
|
status |
enum SubtitleStatus Current processing status of the subtitle.
|
|
source_type |
enum SubtitleSourceType Indicates how the subtitle was created or obtained.
|
|
filename |
string Original filename of the subtitle file. |
|
created_at |
Timestamp when the subtitle was initially created in the system. |
|
updated_at |
Timestamp of the last modification to the subtitle or its metadata. |
|
video_id |
string Identifier of the video this subtitle belongs to. Includes only one of the fields Specifies the parent content this subtitle is associated with. |