Added AnalyticsService.proto
This commit is contained in:
1 parent
3f2d90c0ac
commit
8786b48f33
1 file changed
+28
@@ -0,0 +1,28 @@
|
||||
syntax="proto3";
|
||||
package bts.api.analytics;
|
||||
option csharp_namespace="bts.api.analytics";
|
||||
import "lib/api/apioptions.proto";
|
||||
import "lib/api/apicore.proto";
|
||||
|
||||
message VolSurfaceEntry{
|
||||
int32 vs_id = 10;
|
||||
string vs_name = 20;
|
||||
bytes volsurface = 30;
|
||||
}
|
||||
|
||||
message AnalyticsServiceCreateResponse {
|
||||
bool ok = 1;
|
||||
int32 new_id = 2;
|
||||
}
|
||||
|
||||
message IntWrapper{
|
||||
int32 data = 1;
|
||||
}
|
||||
|
||||
service AnalyticsService {
|
||||
option (bts.api.service_description) = "Provides VolSurface creations and saves";
|
||||
rpc get_new_volsurface_id(bts.api.VoidMessage) returns (AnalyticsServiceCreateResponse);
|
||||
rpc save_volsurface(VolSurfaceEntry) returns (bts.api.ResultMessage);
|
||||
rpc delete_volsurface(IntWrapper) returns (bts.api.ResultMessage);
|
||||
rpc clean_up(IntWrapper) returns (bts.api.VoidMessage);
|
||||
}
|
||||
Reference in new issue
Block a user