generated from VLADIMIR/template
add addAction method
This commit is contained in:
@@ -25,6 +25,18 @@ service EveningDetective {
|
||||
get: "/teams"
|
||||
};
|
||||
}
|
||||
|
||||
rpc DeleteTeams(DeleteTeamsReq) returns (DeleteTeamsRsp) {
|
||||
option (google.api.http) = {
|
||||
delete: "/teams"
|
||||
};
|
||||
}
|
||||
|
||||
rpc AddAction(AddActionReq) returns (AddActionRsp) {
|
||||
option (google.api.http) = {
|
||||
post: "/actions"
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
message PingReq {}
|
||||
@@ -65,3 +77,18 @@ message TeamAdvanced {
|
||||
message Application {
|
||||
string name = 1;
|
||||
}
|
||||
|
||||
message DeleteTeamsReq {}
|
||||
|
||||
message DeleteTeamsRsp {}
|
||||
|
||||
message AddActionReq {
|
||||
string to = 1;
|
||||
}
|
||||
|
||||
message AddActionRsp {
|
||||
int64 id = 1;
|
||||
string to = 2;
|
||||
string text = 3;
|
||||
repeated Application applications = 4;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user