lnrpc/routerrpc: use x prefix as REST sub-path for ImportMissionControl
A small change to better indicate that this is a different class of RPCs on the REST interface.
This commit is contained in:
parent
abea1146a6
commit
901c192e9f
@ -216,7 +216,7 @@ http:
|
|||||||
- selector: routerrpc.Router.QueryProbability
|
- selector: routerrpc.Router.QueryProbability
|
||||||
get: "/v2/router/mc/probability/{from_node}/{to_node}/{amt_msat}"
|
get: "/v2/router/mc/probability/{from_node}/{to_node}/{amt_msat}"
|
||||||
- selector: routerrpc.Router.XImportMissionControl
|
- selector: routerrpc.Router.XImportMissionControl
|
||||||
post: "/v2/router/ximporthistory"
|
post: "/v2/router/x/importhistory"
|
||||||
body: "*"
|
body: "*"
|
||||||
- selector: routerrpc.Router.BuildRoute
|
- selector: routerrpc.Router.BuildRoute
|
||||||
post: "/v2/router/route"
|
post: "/v2/router/route"
|
||||||
|
@ -886,7 +886,7 @@ var (
|
|||||||
|
|
||||||
pattern_Router_QueryMissionControl_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "router", "mc"}, "", runtime.AssumeColonVerbOpt(true)))
|
pattern_Router_QueryMissionControl_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "router", "mc"}, "", runtime.AssumeColonVerbOpt(true)))
|
||||||
|
|
||||||
pattern_Router_XImportMissionControl_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "router", "ximporthistory"}, "", runtime.AssumeColonVerbOpt(true)))
|
pattern_Router_XImportMissionControl_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2, 2, 3}, []string{"v2", "router", "x", "importhistory"}, "", runtime.AssumeColonVerbOpt(true)))
|
||||||
|
|
||||||
pattern_Router_GetMissionControlConfig_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "router", "mccfg"}, "", runtime.AssumeColonVerbOpt(true)))
|
pattern_Router_GetMissionControlConfig_0 = runtime.MustPattern(runtime.NewPattern(1, []int{2, 0, 2, 1, 2, 2}, []string{"v2", "router", "mccfg"}, "", runtime.AssumeColonVerbOpt(true)))
|
||||||
|
|
||||||
|
@ -362,7 +362,7 @@
|
|||||||
]
|
]
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
"/v2/router/ximporthistory": {
|
"/v2/router/x/importhistory": {
|
||||||
"post": {
|
"post": {
|
||||||
"summary": "XImportMissionControl is an experimental API that imports the state provided\nto the internal mission control's state, using all results which are more\nrecent than our existing values. These values will only be imported\nin-memory, and will not be persisted across restarts.",
|
"summary": "XImportMissionControl is an experimental API that imports the state provided\nto the internal mission control's state, using all results which are more\nrecent than our existing values. These values will only be imported\nin-memory, and will not be persisted across restarts.",
|
||||||
"operationId": "XImportMissionControl",
|
"operationId": "XImportMissionControl",
|
||||||
|
Loading…
Reference in New Issue
Block a user