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