Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
data PushbulletAuth Source #
type AuthClientData (AuthProtect * PushbulletAuth) # | |
type PushbulletApi = "v2" :> PushbulletApiV2 Source #
type PushbulletApiV2 = PushAuth (AuthProtect PushbulletAuth) (("pushes" :> ((ReqBody '[JSON] (Push New) :> Post '[JSON] (Push Existing)) :<|> (QueryParam "modified_after" PushbulletTime :> (QueryParam "active" Bool :> (QueryParam "limit" Int :> (QueryParam "cursor" Cursor :> Get '[JSON] (Paginated ExistingPushes))))))) :<|> (("ephemerals" :> (ReqBody '[JSON] Ephemeral :> Post '[JSON] TrivialObject)) :<|> (("users" :> ("me" :> Get '[JSON] User)) :<|> (("devices" :> ((QueryParam "active" Bool :> (QueryParam "cursor" Cursor :> Get '[JSON] (Paginated ExistingDevices))) :<|> ((ReqBody '[JSON] (Device New) :> Post '[JSON] (Device Existing)) :<|> (Capture "deviceId" DeviceId :> Delete '[JSON] TrivialObject)))) :<|> ("permanents" :> ((Capture "permanent" (Permanent ThreadList) :> Get '[JSON] SmsThreads) :<|> (Capture "permanent" (Permanent MessageList) :> Get '[JSON] SmsMessages))))))) Source #