aboutsummaryrefslogtreecommitdiff
path: root/docs/api/admin_api.md
diff options
context:
space:
mode:
authorIvan Tashkinov <ivantashkinov@gmail.com>2019-08-09 20:09:56 +0300
committerIvan Tashkinov <ivantashkinov@gmail.com>2019-08-09 20:09:56 +0300
commit267262491ecf7b413052708062abac69b1d8f643 (patch)
tree0d4d1f6c10766f49ad98e61fab36934b2e30706b /docs/api/admin_api.md
parentb7fad8d395c2bd1afe445a370e539571f5ec0c18 (diff)
parent29807ef6a5b43a528ffca08b4f721b251f331c8d (diff)
downloadpleroma-267262491ecf7b413052708062abac69b1d8f643.tar.gz
Merge remote-tracking branch 'remotes/upstream/develop' into 1149-oban-job-queue
Diffstat (limited to 'docs/api/admin_api.md')
-rw-r--r--docs/api/admin_api.md4
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):