Settings & folders
Namespaces settings and folders plus the settings blueprint
(actionstools_app/settings/), table em_actions_settings (_staging outside production), key
(instance_id, config_key). Settings are global: every route uses INSTANCE_ID = 1
(settings/services.py), regardless of the request’s instance header.
Settings
| Method | Path | Behaviour |
|---|---|---|
GET |
|
All settings, every page fetched server-side. The caller must have the required permission in the
Payability internal API ( |
POST |
|
Create |
GET |
|
Single setting. Also accepts instance-token auth ( |
PUT |
|
Replace |
DELETE |
|
Soft delete. |
GET |
|
All settings of one type ( |
config_type values (settings/models.py): string, number, html, list, nested_list,
task_template, dict, json, unified_email_config, email_config,
email_frontend_automatic_config, email_frontend_batch_config, email_frontend_config,
email_frontend_template, email_base_template. Types mapped to plain ConfigType accept any value.
Complex values are stored in DynamoDB’s marshalled form and unmarshalled on read (the M/L
checks in the views).
Folders
Email template folders are a single list setting whose key is
config.TEMPLATES_FOLDER_SETTINGS_KEY (template_folders).
| Method | Path | Behaviour |
|---|---|---|
GET |
|
The folder setting; |
POST |
|
|
DELETE |
|
Removes a folder. |