diff options
| author | stuebinm | 2026-05-02 14:31:33 +0200 |
|---|---|---|
| committer | stuebinm | 2026-05-02 14:45:35 +0200 |
| commit | 5fa550010cd0d9293d253d9528a4029db26ced54 (patch) | |
| tree | 77f35fef62e4e725edeaa2a0b23879c49bd9253c /lib/API.hs | |
| parent | 4a1aa2f9ebd4624a677d99a4db77e4a564e56942 (diff) | |
owntracks: support returning commands
Diffstat (limited to 'lib/API.hs')
| -rw-r--r-- | lib/API.hs | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -83,7 +83,7 @@ type GtfsRealtimeAPI = "servicealerts" :> QueryFlag "force" :> Get '[Proto] Feed :<|> "vehiclepositions" :> QueryFlag "force" :> Get '[Proto] FeedMessage type OwnTracksAPI = - "pub" :> QueryParam "u" Text :> QueryParam "d" Text :> ReqBody '[JSON] OT.Message :> Post '[JSON] () + "pub" :> QueryParam "u" Text :> QueryParam "d" Text :> ReqBody '[JSON] OT.Message :> Post '[JSON] [OT.Command] type CompleteAPI = |
