add API endpoints

This commit is contained in:
nek0 2022-07-24 22:53:29 +02:00
parent a49144e925
commit 8d47a990e7

View file

@ -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
)