new SettingsController(db)
REST API - Settings controller. Allows user to manage app settings from client interface through REST API.
Parameters:
| Name | Type | Description |
|---|---|---|
db |
Connection |
- Source:
- app/controllers/SettingsController.js, line 11
Methods
-
load(req, res, next)
-
GET /api/settings For more information see web service documentation.
Parameters:
Name Type Description reqresnext- Source:
- app/controllers/SettingsController.js, line 25
-
save(req, res, next)
-
PUT /api/settings For more information see web service documentation.
Parameters:
Name Type Description reqresnext- Source:
- app/controllers/SettingsController.js, line 44