blob: 85ddb2d35419a2dde0f2501712f21cbfb563068a (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
|
syntax = "proto3";
package yandex.cloud.video.v1;
import "google/protobuf/timestamp.proto";
option go_package = "github.com/yandex-cloud/go-genproto/yandex/cloud/video/v1;video";
option java_package = "yandex.cloud.api.video.v1";
message Episode {
reserved 102 to 999;
reserved 11 to 99;
reserved 1001;
// ID of the episode.
string id = 1;
// ID of the stream. Optional, empty if the episode is linked to the line
string stream_id = 2;
// ID of the line. Optional, empty if the episode is linked to the stream
string line_id = 3;
// Channel title.
string title = 4;
// Channel description.
string description = 5;
// ID of the thumbnail.
string thumbnail_id = 6;
// Episode start time.
google.protobuf.Timestamp start_time = 7;
// Episode finish time.
google.protobuf.Timestamp finish_time = 8;
// Enables episode DVR mode. DVR seconds determines how many last seconds of the stream are available.
//
// possible values:
// * `0`: infinite dvr size, the full length of the stream allowed to display
// * `>0`: size of dvr window in seconds, the minimum value is 30s
int64 dvr_seconds = 9;
VisibilityStatus visibility_status = 10;
// Episode access rights.
oneof access_rights {
// Episode is available to everyone.
EpisodePublicAccessRights public_access = 1000;
// Checking access rights using the authorization system.
EpisodeAuthSystemAccessRights auth_system_access = 1002;
}
// Time when episode was created.
google.protobuf.Timestamp created_at = 100;
// Time of last episode update.
google.protobuf.Timestamp updated_at = 101;
enum VisibilityStatus {
VISIBILITY_STATUS_UNSPECIFIED = 0;
PUBLISHED = 1;
UNPUBLISHED = 2;
}
}
message EpisodePublicAccessRights {}
message EpisodeAuthSystemAccessRights {}
|