mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 01:43:16 +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.
16 lines
427 B
YAML
16 lines
427 B
YAML
type: google.api.Service
|
|
config_version: 3
|
|
|
|
http:
|
|
rules:
|
|
- selector: autopilotrpc.Autopilot.Status
|
|
get: "/v2/autopilot/status"
|
|
- selector: autopilotrpc.Autopilot.ModifyStatus
|
|
post: "/v2/autopilot/modify"
|
|
body: "*"
|
|
- selector: autopilotrpc.Autopilot.QueryScores
|
|
get: "/v2/autopilot/scores"
|
|
- selector: autopilotrpc.Autopilot.SetScores
|
|
post: "/v2/autopilot/scores"
|
|
body: "*"
|