diff options
Diffstat (limited to '')
-rw-r--r-- | lib/API.hs | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -69,6 +69,7 @@ type API = "tracker" :> "register" :> ReqBody '[JSON] RegisterJson :> Post '[JSON] Token :<|> "tracker" :> "ping" :> ReqBody '[JSON] SentPing :> Post '[JSON] (Maybe TrainAnchor) :<|> "tracker" :> "ping" :> "ws" :> WebSocket + :<|> "ticker" :> "current" :> Get '[JSON] Value :<|> "ticket" :> "subscribe" :> Capture "Ticket Id" UUID :> WebSocket :<|> "debug" :> "pings" :> Get '[JSON] (Map Token [TrainPing]) :<|> "debug" :> "pings" :> Capture "Ticket Id" UUID :> Get '[JSON] [TrainPing] |