feat: ota
This commit is contained in:
@@ -140,6 +140,11 @@ message BindExpiryRequest {
|
||||
string reason = 3;
|
||||
}
|
||||
|
||||
message ApiVersionRequest {
|
||||
int32 type = 1;
|
||||
string version = 2;
|
||||
}
|
||||
|
||||
service Equipment {
|
||||
rpc Items(ItemsRequest) returns(Response){
|
||||
option (google.api.http) = {
|
||||
@@ -274,5 +279,11 @@ service Equipment {
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
rpc ApiVersion(ApiVersionRequest) returns(Response){
|
||||
option (google.api.http) = {
|
||||
get: "/api/v3/version"
|
||||
body: "*"
|
||||
};
|
||||
};
|
||||
|
||||
}
|
||||
Reference in New Issue
Block a user