Last active
November 13, 2019 20:23
-
-
Save brunoluiz/1133612f2e3e666d208c93ac12cc0e88 to your computer and use it in GitHub Desktop.
gists-for-protos-post
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
syntax = "proto3"; | |
service SnapshotService { | |
rpc CreateSnapshot (CreateSnapshotRequest) returns (CreateSnapshotResponse); | |
} | |
message CreateSnapshotRequest { | |
string url = 1; | |
} | |
enum SnapshotStatus { | |
UNKNOWN = 0; | |
IN_PROGRESS = 1; | |
DONE = 2; | |
} | |
message CreateSnapshotResponse { | |
string id = 1; | |
string out_url = 2; | |
SnapshotStatus status = 3; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment