Update grpc-gateway config
This commit is contained in:
parent
388c9f4913
commit
eb604852a8
@ -11,26 +11,23 @@ http:
|
||||
- selector: bdware.bdledger.api.Ledger.GetLedgers
|
||||
get: /v0/ledgers
|
||||
- selector: bdware.bdledger.api.Ledger.SendTransaction
|
||||
post: /v0/transactions
|
||||
post: /v0/ledgers/{ledger}/transactions
|
||||
body: "*"
|
||||
- selector: bdware.bdledger.api.Query.GetBlockByHash
|
||||
post: /v0/blocks/{hash}
|
||||
body: "*"
|
||||
get: /v0/ledgers/{ledger}/blocks/{hash}
|
||||
- selector: bdware.bdledger.api.Query.GetBlocks
|
||||
post: /v0/blocks
|
||||
post: /v0/ledgers/{ledger}/blocks/query
|
||||
body: "*"
|
||||
- selector: bdware.bdledger.api.Query.CountBlocks
|
||||
post: /v0/blocks/count
|
||||
post: /v0/ledgers/{ledger}/blocks/count
|
||||
body: "*"
|
||||
- selector: bdware.bdledger.api.Query.GetTransactionByHash
|
||||
post: /v0/transactions/{hash}
|
||||
body: "*"
|
||||
get: /v0/ledgers/{ledger}/transactions/{hash}
|
||||
- selector: bdware.bdledger.api.Query.GetTransactionByBlockHashAndIndex
|
||||
post: /v0/blocks/{block_hash}/transactions/{index}
|
||||
body: "*"
|
||||
get: /v0/ledgers/{ledger}/blocks/{block_hash}/transactions/{index}
|
||||
- selector: bdware.bdledger.api.Query.GetTransactions
|
||||
post: /v0/transactions
|
||||
post: /v0/ledgers/{ledger}/transactions/query
|
||||
body: "*"
|
||||
- selector: bdware.bdledger.api.Query.CountTransactions
|
||||
post: /v0/transactions/count
|
||||
post: /v0/ledgers/{ledger}/transactions/count
|
||||
body: "*"
|
||||
|
Loading…
Reference in New Issue
Block a user