This commit is contained in:
boufni95 2023-12-09 20:34:09 +01:00
parent 93a1504aa3
commit 46c863721b
12 changed files with 2772 additions and 2605 deletions

View file

@ -58,6 +58,7 @@ extend google.protobuf.MethodOptions { // TODO: move this stuff to dep repo?
string http_route = 50005;
MethodQueryOptions query = 50006;
bool nostr = 50007;
bool batch = 50008;
}
@ -315,5 +316,12 @@ service LightningPub {
option (http_route) = "/api/user/migrations/sub";
option (nostr) = true;
}
rpc BatchUser(structs.Empty) returns (structs.Empty){
option (auth_type) = "User";
option (http_method) = "post";
option (http_route) = "/api/user/batch";
option (nostr) = true;
option (batch) = true;
}
// </User>
}