backend-0.1.0.0
Safe HaskellNone
LanguageHaskell2010

Server.Handlers.GroupHandlers

Documentation

type GroupAPI = "groups" :> ((Auth AuthMethod Token :> (ReqBody '[JSON] GroupCreate :> Post '[JSON] GroupID)) :<|> ((Auth AuthMethod Token :> Get '[JSON] [GroupOverview]) :<|> ((Auth AuthMethod Token :> (Capture "groupID" GroupID :> Get '[JSON] Group)) :<|> ((Auth AuthMethod Token :> (Capture "groupID" GroupID :> Delete '[JSON] NoContent)) :<|> (Auth AuthMethod Token :> (Capture "groupID" GroupID :> (ReqBody '[JSON] GroupPatch :> Patch '[JSON] GroupOverview))))))) Source #