type: google.api.Service
config_version: 3

http:
  rules:
    - selector: wtclientrpc.WatchtowerClient.AddTower
      post: "/v2/watchtower/client"
      body: "*"
    - selector: wtclientrpc.WatchtowerClient.RemoveTower
      delete: "/v2/watchtower/client/{pubkey}"
    - selector: wtclientrpc.WatchtowerClient.DeactivateTower
      post: "/v2/watchtower/client/tower/deactivate/{pubkey}"
    - selector: wtclientrpc.WatchtowerClient.TerminateSession
      post: "/v2/watchtower/client/sessions/terminate/{session_id}"
    - selector: wtclientrpc.WatchtowerClient.ListTowers
      get: "/v2/watchtower/client"
    - selector: wtclientrpc.WatchtowerClient.GetTowerInfo
      get: "/v2/watchtower/client/info/{pubkey}"
    - selector: wtclientrpc.WatchtowerClient.Stats
      get: "/v2/watchtower/client/stats"
    - selector: wtclientrpc.WatchtowerClient.Policy
      get: "/v2/watchtower/client/policy"
