Video API, gRPC: VideoService.Get
Returns the specific video.
gRPC request
rpc Get (GetVideoRequest) returns (Video)
GetVideoRequest
{
"videoId": "string"
}
Field |
Description |
videoId |
string ID of the video. |
Video
{
"id": "string",
"channelId": "string",
"title": "string",
"description": "string",
"thumbnailId": "string",
"status": "VideoStatus",
"duration": "google.protobuf.Duration",
"visibilityStatus": "VisibilityStatus",
// Includes only one of the fields `tusd`
"tusd": {
"url": "string"
},
// end of the list of possible fields
// Includes only one of the fields `publicAccess`, `authSystemAccess`
"publicAccess": "VideoPublicAccessRights",
"authSystemAccess": "VideoAuthSystemAccessRights",
// end of the list of possible fields
"createdAt": "google.protobuf.Timestamp",
"updatedAt": "google.protobuf.Timestamp",
"labels": "string"
}
Field |
Description |
id |
string ID of the video. |
channelId |
string ID of the channel where the video was created. |
title |
string Video title. |
description |
string Video description. |
thumbnailId |
string ID of the thumbnail. |
status |
enum VideoStatus Video status.
|
duration |
Video duration. Optional, may be empty until the transcoding result is ready. |
visibilityStatus |
enum VisibilityStatus Video visibility status.
|
tusd |
Upload video using the tus protocol. Includes only one of the fields Source type. |
publicAccess |
Video is available to everyone. Includes only one of the fields Video access rights. |
authSystemAccess |
Checking access rights using the authorization system. Includes only one of the fields Video access rights. |
createdAt |
Time when video was created. |
updatedAt |
Time of last video update. |
labels |
string Custom labels as |
VideoTUSDSource
Field |
Description |
url |
string URL for uploading video via the tus protocol. |
VideoPublicAccessRights
Field |
Description |
Empty |
VideoAuthSystemAccessRights
Field |
Description |
Empty |