aboutsummaryrefslogtreecommitdiff
path: root/api/api.proto
blob: 2c6c20d4a9d23d87d5e0d5431bad82f96ec15c50 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
syntax = "proto3";
package api;

import "google/api/annotations.proto";

message PingMessage {
  string greeting = 1;
}

service Ping {
  rpc SayHello(PingMessage) returns (PingMessage) {
    option (google.api.http) = {
        post: "/1/ping"
        body: "*"
    };
  }
}