settings
create_setting(payload, stray=Depends(HTTPAuth(AuthResource.SETTINGS, AuthPermission.WRITE)))
Create a new setting in the database
Source code in cat/routes/settings.py
delete_setting(settingId, stray=Depends(HTTPAuth(AuthResource.SETTINGS, AuthPermission.DELETE)))
Delete a specific setting in the database
Source code in cat/routes/settings.py
get_setting(settingId, stray=Depends(HTTPAuth(AuthResource.SETTINGS, AuthPermission.READ)))
Get the a specific setting from the database
Source code in cat/routes/settings.py
get_settings(search='', stray=Depends(HTTPAuth(AuthResource.SETTINGS, AuthPermission.LIST)))
Get the entire list of settings available in the database
Source code in cat/routes/settings.py
update_setting(settingId, payload, stray=Depends(HTTPAuth(AuthResource.SETTINGS, AuthPermission.EDIT)))
Update a specific setting in the database if it exists