mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
275f085e6d
Add method to track all payments rather than tracking a payment by payment hash.
51 lines
1.7 KiB
YAML
51 lines
1.7 KiB
YAML
type: google.api.Service
|
|
config_version: 3
|
|
|
|
http:
|
|
rules:
|
|
- selector: routerrpc.Router.SendPaymentV2
|
|
post: "/v2/router/send"
|
|
body: "*"
|
|
- selector: routerrpc.Router.TrackPaymentV2
|
|
get: "/v2/router/track/{payment_hash}"
|
|
- selector: routerrpc.Router.TrackPayments
|
|
get: "/v2/router/payments"
|
|
- selector: routerrpc.Router.EstimateRouteFee
|
|
post: "/v2/router/route/estimatefee"
|
|
body: "*"
|
|
- selector: routerrpc.Router.SendToRoute
|
|
# deprecated, no REST endpoint
|
|
- selector: routerrpc.Router.SendToRouteV2
|
|
post: "/v2/router/route/send"
|
|
body: "*"
|
|
- selector: routerrpc.Router.ResetMissionControl
|
|
post: "/v2/router/mc/reset"
|
|
body: "*"
|
|
- selector: routerrpc.Router.QueryMissionControl
|
|
get: "/v2/router/mc"
|
|
- selector: routerrpc.Router.GetMissionControlConfig
|
|
get: "/v2/router/mccfg"
|
|
- selector: routerrpc.Router.SetMissionControlConfig
|
|
post: "/v2/router/mccfg"
|
|
body: "*"
|
|
- selector: routerrpc.Router.QueryProbability
|
|
get: "/v2/router/mc/probability/{from_node}/{to_node}/{amt_msat}"
|
|
- selector: routerrpc.Router.XImportMissionControl
|
|
post: "/v2/router/x/importhistory"
|
|
body: "*"
|
|
- selector: routerrpc.Router.BuildRoute
|
|
post: "/v2/router/route"
|
|
body: "*"
|
|
- selector: routerrpc.Router.SubscribeHtlcEvents
|
|
get: "/v2/router/htlcevents"
|
|
- selector: routerrpc.Router.SendPayment
|
|
# deprecated, no REST endpoint
|
|
- selector: routerrpc.Router.TrackPayment
|
|
# deprecated, no REST endpoint
|
|
- selector: routerrpc.Router.HtlcInterceptor
|
|
post: "/v2/router/htlcinterceptor"
|
|
body: "*"
|
|
- selector: routerrpc.Router.UpdateChanStatus
|
|
post: "/v2/router/updatechanstatus"
|
|
body: "*"
|