summaryrefslogtreecommitdiff
path: root/docs/api/admin_api.md
diff options
context:
space:
mode:
authorAlex S <alex.strizhakov@gmail.com>2019-06-23 08:16:16 +0300
committerAlex S <alex.strizhakov@gmail.com>2019-06-23 08:16:16 +0300
commit982cad0268898851ff87187eaf0d0b7011b1c96a (patch)
tree245e883263cfe317bb16f38d98ef83c9c8fc8fa0 /docs/api/admin_api.md
parent410add1c30d230e86c22de4e54bb9999de980b16 (diff)
downloadpleroma-982cad0268898851ff87187eaf0d0b7011b1c96a.tar.gz
pleroma-982cad0268898851ff87187eaf0d0b7011b1c96a.zip
support for config groups
Diffstat (limited to 'docs/api/admin_api.md')
-rw-r--r--docs/api/admin_api.md8
1 files changed, 6 insertions, 2 deletions
diff --git a/docs/api/admin_api.md b/docs/api/admin_api.md
index 63af33821..c05a353d7 100644
--- a/docs/api/admin_api.md
+++ b/docs/api/admin_api.md
@@ -568,8 +568,9 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret
{
configs: [
{
+ "group": string,
"key": string,
- "value": string or {} or []
+ "value": string or {} or [] or {"tuple": []}
}
]
}
@@ -597,8 +598,9 @@ Compile time settings (need instance reboot):
- Method `POST`
- Params:
- `configs` => [
+ - `group` (string)
- `key` (string)
- - `value` (string, [], {})
+ - `value` (string, [], {} or {"tuple": []})
- `delete` = true (optional, if parameter must be deleted)
]
@@ -608,6 +610,7 @@ Compile time settings (need instance reboot):
{
configs: [
{
+ "group": "pleroma",
"key": "Pleroma.Upload",
"value": {
"uploader": "Pleroma.Uploaders.Local",
@@ -636,6 +639,7 @@ Compile time settings (need instance reboot):
{
configs: [
{
+ "group": string,
"key": string,
"value": string or {} or [] or {"tuple": []}
}