refactor(api): remove unused Allocate RPC from Query service

This commit is contained in:
Prad
2024-12-24 18:52:03 +00:00
parent 2545ab5748
commit 68aa232368
6 changed files with 42 additions and 1841 deletions
-19
View File
@@ -16,13 +16,6 @@ service Query {
rpc Params(QueryParamsRequest) returns (QueryParamsResponse) {
option (google.api.http).get = "/vault/v1/params";
}
// Allocate initializes a Target Vault available for claims with a compatible
// Authentication mechanism. The default authentication mechanism is WebAuthn.
rpc Allocate(QueryAllocateRequest) returns (QueryAllocateResponse) {
option (google.api.http).get = "/vault/v1/allocate";
}
}
// ╭──────────────────────────────────────────────────────────╮
@@ -38,15 +31,3 @@ message QueryParamsResponse {
Params params = 1;
}
// QueryAllocateRequest is the request type for the Allocate RPC method.
message QueryAllocateRequest {}
// AllocateResponse is the response type for the Allocate RPC method.
message QueryAllocateResponse {
bool success = 1;
string cid = 2;
string macaroon = 3;
string public_uri = 4;
int64 expiry_block = 5;
}