diff options
author | Alexander Strizhakov <alex.strizhakov@gmail.com> | 2019-06-27 04:19:44 +0000 |
---|---|---|
committer | kaniini <nenolod@gmail.com> | 2019-06-27 04:19:44 +0000 |
commit | c6705144a2758c76943ad7967da412572efcbc2d (patch) | |
tree | 720c05e354aa1dcc1295400d8665bb1d9b13b675 /docs/api | |
parent | cfb5be3cedcd0e486851ebaf2b3abb4b838fc909 (diff) | |
download | pleroma-c6705144a2758c76943ad7967da412572efcbc2d.tar.gz |
don't delete config settings on admin update
Diffstat (limited to 'docs/api')
-rw-r--r-- | docs/api/admin_api.md | 2 |
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, []}`. |