diff --git a/grpc/pb/bdware/bdledger/api/grpc-gateway.yml b/grpc/pb/bdware/bdledger/api/grpc-gateway.yml index 0d7d73c..7f1cd1a 100644 --- a/grpc/pb/bdware/bdledger/api/grpc-gateway.yml +++ b/grpc/pb/bdware/bdledger/api/grpc-gateway.yml @@ -14,16 +14,23 @@ http: post: /v0/transactions body: "*" - selector: bdware.bdledger.api.Query.GetBlockByHash - get: /v0/blocks/{hash} + post: /v0/blocks/{hash} + body: "*" - selector: bdware.bdledger.api.Query.GetBlocks - get: /v0/blocks + post: /v0/blocks + body: "*" - selector: bdware.bdledger.api.Query.CountBlocks - get: /v0/blocks/count + post: /v0/blocks/count + body: "*" - selector: bdware.bdledger.api.Query.GetTransactionByHash - get: /v0/transactions/{hash} + post: /v0/transactions/{hash} + body: "*" - selector: bdware.bdledger.api.Query.GetTransactionByBlockHashAndIndex - get: /v0/blocks/{block_hash}/transactions/{index} + post: /v0/blocks/{block_hash}/transactions/{index} + body: "*" - selector: bdware.bdledger.api.Query.GetTransactions - get: /v0/transactions + post: /v0/transactions + body: "*" - selector: bdware.bdledger.api.Query.CountTransactions - get: /v0/transactions/count + post: /v0/transactions/count + body: "*"