aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorkaniini <nenolod@gmail.com>2019-06-27 04:19:44 +0000
committerkaniini <nenolod@gmail.com>2019-06-27 04:19:44 +0000
commit6587e2358c4746d760b212a25f6cd8b751158045 (patch)
tree720c05e354aa1dcc1295400d8665bb1d9b13b675 /docs
parentcfb5be3cedcd0e486851ebaf2b3abb4b838fc909 (diff)
parentc6705144a2758c76943ad7967da412572efcbc2d (diff)
downloadpleroma-6587e2358c4746d760b212a25f6cd8b751158045.tar.gz
Merge branch 'fix/admin-configure' into 'develop'
don't delete config settings on admin update See merge request pleroma/pleroma!1340
Diffstat (limited to 'docs')
-rw-r--r--docs/api/admin_api.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/docs/api/admin_api.md b/docs/api/admin_api.md
index c05a353d7..4be0ab0f8 100644
--- a/docs/api/admin_api.md
+++ b/docs/api/admin_api.md
@@ -579,7 +579,7 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
## `/api/pleroma/admin/config`
### Update config settings
Module name can be passed as string, which starts with `Pleroma`, e.g. `"Pleroma.Upload"`.
-Atom or boolean value can be passed with `:` in the beginning, e.g. `":true"`, `":upload"`.
+Atom or boolean value can be passed with `:` in the beginning, e.g. `":true"`, `":upload"`. For keys it is not needed.
Integer with `i:`, e.g. `"i:150"`.
Tuple with more than 2 values with `{"tuple": ["first_val", Pleroma.Module, []]}`.
`{"tuple": ["some_string", "Pleroma.Some.Module", []]}` will be converted to `{"some_string", Pleroma.Some.Module, []}`.