aboutsummaryrefslogtreecommitdiff
path: root/api
diff options
context:
space:
mode:
Diffstat (limited to 'api')
-rw-r--r--api/api.proto10
1 files changed, 9 insertions, 1 deletions
diff --git a/api/api.proto b/api/api.proto
index 2c6c20d..796e34b 100644
--- a/api/api.proto
+++ b/api/api.proto
@@ -7,6 +7,14 @@ message PingMessage {
string greeting = 1;
}
+message Item {
+ int32 id = 1
+ string field = 2;
+ string field2 = 3;
+ google.protobuf.Timestamp created = 5;
+ google.protobuf.Timestamp last_updated = 5;
+}
+
service Ping {
rpc SayHello(PingMessage) returns (PingMessage) {
option (google.api.http) = {
@@ -14,4 +22,4 @@ service Ping {
body: "*"
};
}
-} \ No newline at end of file
+}