diff options
author | Alex S <alex.strizhakov@gmail.com> | 2019-06-22 17:30:53 +0300 |
---|---|---|
committer | Alex S <alex.strizhakov@gmail.com> | 2019-06-22 17:30:53 +0300 |
commit | 410add1c30d230e86c22de4e54bb9999de980b16 (patch) | |
tree | e0b9c47070751946f0fc1c3a171a07d77e6cc030 /docs/api/admin_api.md | |
parent | f0fccb75783bcac406133d8cb3d4d3a485189092 (diff) | |
download | pleroma-410add1c30d230e86c22de4e54bb9999de980b16.tar.gz pleroma-410add1c30d230e86c22de4e54bb9999de980b16.zip |
support for tuples with more than 2 values
Diffstat (limited to 'docs/api/admin_api.md')
-rw-r--r-- | docs/api/admin_api.md | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/docs/api/admin_api.md b/docs/api/admin_api.md index 5dcc8d059..63af33821 100644 --- a/docs/api/admin_api.md +++ b/docs/api/admin_api.md @@ -580,6 +580,8 @@ Note: Available `:permission_group` is currently moderator and admin. 404 is ret 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"`. 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, []}`. Compile time settings (need instance reboot): - all settings by this keys: @@ -619,6 +621,9 @@ Compile time settings (need instance reboot): "follow_redirect": ":true", "pool": ":upload" } + }, + "dispatch": { + "tuple": ["/api/v1/streaming", "Pleroma.Web.MastodonAPI.WebsocketHandler", []] } } } @@ -632,7 +637,7 @@ Compile time settings (need instance reboot): configs: [ { "key": string, - "value": string or {} or [] + "value": string or {} or [] or {"tuple": []} } ] } |