-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathproApiV1Library.proto
54 lines (41 loc) · 1.03 KB
/
proApiV1Library.proto
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
syntax = "proto3";
package rv.data;
import "proApiV1Identifier.proto";
message API_v1_Library_Request {
oneof Request {
rv.data.API_v1_Library_Request.Libraries libraries = 1;
rv.data.API_v1_Library_Request.Library library = 2;
rv.data.API_v1_Library_Request.Trigger trigger = 3;
}
message Libraries {
}
message Library {
string id = 1;
}
message Trigger {
string library_id = 1;
string presentation_id = 2;
uint32 index = 3;
}
}
message API_v1_Library_Response {
oneof Response {
rv.data.API_v1_Library_Response.Libraries libraries = 1;
rv.data.API_v1_Library_Response.Library library = 2;
rv.data.API_v1_Library_Response.Trigger triggger = 3;
}
message Libraries {
repeated rv.data.API_v1_Identifier libraries = 1;
}
message Library {
enum UpdateType {
all = 0;
add = 1;
remove = 2;
}
UpdateType update_type = 1;
repeated rv.data.API_v1_Identifier items = 2;
}
message Trigger {
}
}