add API endpoints
This commit is contained in:
parent
a49144e925
commit
8d47a990e7
1 changed files with 6 additions and 0 deletions
|
@ -89,6 +89,12 @@ type MateAPI = "v1" :> (
|
||||||
:> ReqBody '[JSON] RoleAssociation
|
:> ReqBody '[JSON] RoleAssociation
|
||||||
:> Delete '[JSON] NoContent
|
:> Delete '[JSON] NoContent
|
||||||
|
|
||||||
|
:<|> "settings" :> AuthProtect "header-auth"
|
||||||
|
:> Get '[JSON] Settings
|
||||||
|
:<|> "settings" :> AuthProtect "header-auth"
|
||||||
|
:> ReqBody '[JSON] Settings
|
||||||
|
:> Post '[JSON] NoContent
|
||||||
|
|
||||||
:<|> "meta" :> Get '[JSON] MetaInformation
|
:<|> "meta" :> Get '[JSON] MetaInformation
|
||||||
)
|
)
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue