Fix grpc-gateway config
This commit is contained in:
parent
2ec22cc92b
commit
c81305e766
@ -14,16 +14,23 @@ http:
|
|||||||
post: /v0/transactions
|
post: /v0/transactions
|
||||||
body: "*"
|
body: "*"
|
||||||
- selector: bdware.bdledger.api.Query.GetBlockByHash
|
- selector: bdware.bdledger.api.Query.GetBlockByHash
|
||||||
get: /v0/blocks/{hash}
|
post: /v0/blocks/{hash}
|
||||||
|
body: "*"
|
||||||
- selector: bdware.bdledger.api.Query.GetBlocks
|
- selector: bdware.bdledger.api.Query.GetBlocks
|
||||||
get: /v0/blocks
|
post: /v0/blocks
|
||||||
|
body: "*"
|
||||||
- selector: bdware.bdledger.api.Query.CountBlocks
|
- selector: bdware.bdledger.api.Query.CountBlocks
|
||||||
get: /v0/blocks/count
|
post: /v0/blocks/count
|
||||||
|
body: "*"
|
||||||
- selector: bdware.bdledger.api.Query.GetTransactionByHash
|
- selector: bdware.bdledger.api.Query.GetTransactionByHash
|
||||||
get: /v0/transactions/{hash}
|
post: /v0/transactions/{hash}
|
||||||
|
body: "*"
|
||||||
- selector: bdware.bdledger.api.Query.GetTransactionByBlockHashAndIndex
|
- 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
|
- selector: bdware.bdledger.api.Query.GetTransactions
|
||||||
get: /v0/transactions
|
post: /v0/transactions
|
||||||
|
body: "*"
|
||||||
- selector: bdware.bdledger.api.Query.CountTransactions
|
- selector: bdware.bdledger.api.Query.CountTransactions
|
||||||
get: /v0/transactions/count
|
post: /v0/transactions/count
|
||||||
|
body: "*"
|
||||||
|
Loading…
Reference in New Issue
Block a user