diff --git a/src/API.hs b/src/API.hs index 6998769..8dd7482 100644 --- a/src/API.hs +++ b/src/API.hs @@ -89,6 +89,12 @@ type MateAPI = "v1" :> ( :> ReqBody '[JSON] RoleAssociation :> Delete '[JSON] NoContent + :<|> "settings" :> AuthProtect "header-auth" + :> Get '[JSON] Settings + :<|> "settings" :> AuthProtect "header-auth" + :> ReqBody '[JSON] Settings + :> Post '[JSON] NoContent + :<|> "meta" :> Get '[JSON] MetaInformation )