Skip to content

Commit

Permalink
added KeysById
Browse files Browse the repository at this point in the history
  • Loading branch information
gohumble committed May 9, 2024
1 parent 6e14b4c commit d90ef0f
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
10 changes: 10 additions & 0 deletions cashu.proto
Original file line number Diff line number Diff line change
Expand Up @@ -26,6 +26,16 @@ service Mint {
}
};
};
rpc KeysById(KeysRequest) returns (KeysResponse){
option (google.api.http) = {
get: "/v1/keys"
response_body: "message"
additional_bindings {
body: "*"
response_body: "message"
}
};
};
// Starting https://github.com/cashubtc/nuts/blob/main/02.md
rpc KeySets(KeysRequest) returns (KeysResponse){
option (google.api.http) = {
Expand Down
2 changes: 1 addition & 1 deletion keys.proto
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ message KeysResponse{
repeated Keyset keysets = 1;
}
message KeysRequest{

string id = 1;
}

message Keyset {
Expand Down

0 comments on commit d90ef0f

Please sign in to comment.