mirror of
https://github.com/sonr-io/sonr.git
synced 2026-08-02 17:31:39 +00:00
refactor(api): remove unused Allocate RPC from Query service
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user