20 lines
299 B
Protocol Buffer
20 lines
299 B
Protocol Buffer
syntax = "proto3";
|
|
|
|
import "google/api/annotations.proto";
|
|
|
|
service Test {
|
|
rpc Call(Request) returns (Response) {
|
|
option (google.api.http) = { post: "/api/v0/test/call/{uuid}"; body:"*"; };
|
|
};
|
|
|
|
}
|
|
|
|
message Request {
|
|
string uuid = 1;
|
|
string name = 2;
|
|
}
|
|
|
|
message Response {
|
|
string msg = 1;
|
|
}
|