Update grpc-gateway config: Fix '/' in base64 hash

This commit is contained in:
Nex 2020-06-15 14:28:42 +08:00
parent c32a9b8ce7
commit c2228d5601

View File

@ -14,7 +14,7 @@ http:
post: /v0/ledgers/{ledger}/transactions
body: "*"
- selector: bdware.bdledger.api.Query.GetBlockByHash
get: /v0/ledgers/{ledger}/blocks/{hash}
get: /v0/ledgers/{ledger}/block
- selector: bdware.bdledger.api.Query.GetBlocks
post: /v0/ledgers/{ledger}/blocks/query
body: "*"
@ -22,7 +22,7 @@ http:
post: /v0/ledgers/{ledger}/blocks/count
body: "*"
- selector: bdware.bdledger.api.Query.GetTransactionByHash
get: /v0/ledgers/{ledger}/transactions/{hash}
get: /v0/ledgers/{ledger}/transaction
- selector: bdware.bdledger.api.Query.GetTransactionByBlockHashAndIndex
get: /v0/ledgers/{ledger}/blocks/{block_hash}/transactions/{index}
- selector: bdware.bdledger.api.Query.GetTransactions