mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 09:53:54 +01:00
4a0025c1b7
As a preparation for the migration to the grpc-gateway/v2 library we declare each service's REST annotations in its own file. This is optional in the v1 library but mandatory in v2.
15 lines
442 B
YAML
15 lines
442 B
YAML
type: google.api.Service
|
|
config_version: 3
|
|
|
|
http:
|
|
rules:
|
|
- selector: chainrpc.ChainNotifier.RegisterConfirmationsNtfn
|
|
post: "/v2/chainnotifier/register/confirmations"
|
|
body: "*"
|
|
- selector: chainrpc.ChainNotifier.RegisterSpendNtfn
|
|
post: "/v2/chainnotifier/register/spends"
|
|
body: "*"
|
|
- selector: chainrpc.ChainNotifier.RegisterBlockEpochNtfn
|
|
post: "/v2/chainnotifier/register/blocks"
|
|
body: "*"
|