-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathzenly_service.proto
29 lines (23 loc) · 1.08 KB
/
zenly_service.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
syntax = "proto3";
package zenly.protobuf.services;
import "./configuration.proto";
import "./ping.proto";
import "./notifications.proto";
import "./utils.proto";
import "./users.proto";
import "./pin.proto";
import "./tracking.proto";
message HealthStreamEvent {
Duration interval = 1;
}
service ZenlyService {
rpc Configuration(ConfigurationRequest) returns (ConfigurationResponse);
rpc PingManifest(PingManifestRequest) returns (PingManifestResponse);
rpc UserAnnotation(Empty) returns (UserAnnotationResponse);
rpc HealthStream(Empty) returns (stream HealthStreamEvent);
rpc NotificationsStream(Empty) returns (stream NotificationStreamEvent);
rpc PinContextSubscribeStream(PinContextSubscribeStreamRequest) returns (stream PinContextSubscribeStreamEvent);
rpc TrackingContextSubscribeStream(TrackingContextSubscribeStreamRequest) returns (stream TrackingContextSubscribeStreamEvent);
// todo is it actually bidi?
rpc TrackingContextPublishStream(stream TrackingContextPublishStreamRequest) returns (stream TrackingContextPublishStreamEvent);
}