generated from VLADIMIR/template
add graph
This commit is contained in:
@@ -77,6 +77,12 @@ service EveningDetective {
|
||||
get: "/teams/pdf"
|
||||
};
|
||||
}
|
||||
|
||||
rpc GetGraph(GetGraphReq) returns (GetGraphRsp) {
|
||||
option (google.api.http) = {
|
||||
get: "/graph"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
message PingReq {}
|
||||
@@ -179,3 +185,20 @@ message DownloadTeamsQrCodesFileReq {}
|
||||
message DownloadTeamsQrCodesFileRsp {
|
||||
bytes result = 1;
|
||||
}
|
||||
|
||||
message GetGraphReq {}
|
||||
|
||||
message GetGraphRsp {
|
||||
repeated Node nodes = 1;
|
||||
repeated Edge edges = 2;
|
||||
|
||||
message Node {
|
||||
int32 id = 1;
|
||||
string label = 2;
|
||||
}
|
||||
message Edge {
|
||||
int32 from = 1;
|
||||
int32 to = 2;
|
||||
string arrows = 3;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user