diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2019-08-03 18:16:09 +0000 |
---|---|---|
committer | kaniini <ariadne@dereferenced.org> | 2019-08-03 18:16:09 +0000 |
commit | de0f3b73dd7c76b6b19b38804f98f6e7ccba7222 (patch) | |
tree | 53f9822563351ae9af3e021261ae97a2832a9671 /docs/api/admin_api.md | |
parent | 99ce6d6044606f8a91cb101c7f08a493a6644ee8 (diff) | |
download | pleroma-de0f3b73dd7c76b6b19b38804f98f6e7ccba7222.tar.gz |
Admin fixes
Diffstat (limited to 'docs/api/admin_api.md')
-rw-r--r-- | docs/api/admin_api.md | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/docs/api/admin_api.md b/docs/api/admin_api.md index 22873dde9..7ccb90836 100644 --- a/docs/api/admin_api.md +++ b/docs/api/admin_api.md @@ -627,6 +627,9 @@ Tuples can be passed as `{"tuple": ["first_val", Pleroma.Module, []]}`. Keywords can be passed as lists with 2 child tuples, e.g. `[{"tuple": ["first_val", Pleroma.Module]}, {"tuple": ["second_val", true]}]`. +If value contains list of settings `[subkey: val1, subkey2: val2, subkey3: val3]`, it's possible to remove only subkeys instead of all settings passing `subkeys` parameter. E.g.: +{"group": "pleroma", "key": "some_key", "delete": "true", "subkeys": [":subkey", ":subkey3"]}. + Compile time settings (need instance reboot): - all settings by this keys: - `:hackney_pools` @@ -645,6 +648,7 @@ Compile time settings (need instance reboot): - `key` (string or string with leading `:` for atoms) - `value` (string, [], {} or {"tuple": []}) - `delete` = true (optional, if parameter must be deleted) + - `subkeys` [(string with leading `:` for atoms)] (optional, works only if `delete=true` parameter is passed, otherwise will be ignored) ] - Request (example): |