Video API, gRPC: EpisodeService.Get
Returns the specific channel.
gRPC request
rpc Get (GetEpisodeRequest) returns (Episode)
GetEpisodeRequest
{
"episodeId": "string"
}
Field |
Description |
episodeId |
string ID of the episode. |
Episode
{
"id": "string",
"streamId": "string",
"lineId": "string",
"title": "string",
"description": "string",
"thumbnailId": "string",
"startTime": "google.protobuf.Timestamp",
"finishTime": "google.protobuf.Timestamp",
"dvrSeconds": "int64",
"visibilityStatus": "VisibilityStatus",
// Includes only one of the fields `publicAccess`, `authSystemAccess`
"publicAccess": "EpisodePublicAccessRights",
"authSystemAccess": "EpisodeAuthSystemAccessRights",
// end of the list of possible fields
"createdAt": "google.protobuf.Timestamp",
"updatedAt": "google.protobuf.Timestamp"
}
Field |
Description |
id |
string ID of the episode. |
streamId |
string ID of the stream. Optional, empty if the episode is linked to the line |
lineId |
string ID of the line. Optional, empty if the episode is linked to the stream |
title |
string Channel title. |
description |
string Channel description. |
thumbnailId |
string ID of the thumbnail. |
startTime |
Episode start time. |
finishTime |
Episode finish time. |
dvrSeconds |
int64 Enables episode DVR mode. DVR seconds determines how many last seconds of the stream are available. possible values:
|
visibilityStatus |
enum VisibilityStatus
|
publicAccess |
Episode is available to everyone. Includes only one of the fields Episode access rights. |
authSystemAccess |
Checking access rights using the authorization system. Includes only one of the fields Episode access rights. |
createdAt |
Time when episode was created. |
updatedAt |
Time of last episode update. |
EpisodePublicAccessRights
Field |
Description |
Empty |
EpisodeAuthSystemAccessRights
Field |
Description |
Empty |