settings
create_setting(payload, stray=check_permissions(AuthResource.SETTINGS, AuthPermission.WRITE))
Create a new setting in the database
Source code in cat/routes/settings.py
delete_setting(settingId, stray=check_permissions(AuthResource.SETTINGS, AuthPermission.DELETE))
Delete a specific setting in the database
Source code in cat/routes/settings.py
get_setting(settingId, stray=check_permissions(AuthResource.SETTINGS, AuthPermission.READ))
Get the a specific setting from the database
Source code in cat/routes/settings.py
get_settings(search='', stray=check_permissions(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=check_permissions(AuthResource.SETTINGS, AuthPermission.EDIT))
Update a specific setting in the database if it exists