aboutsummaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorlain <lain@soykaf.club>2019-06-04 11:23:46 +0200
committerlain <lain@soykaf.club>2019-06-04 11:23:46 +0200
commit4cab98b7bfc2117055c97a36369759047083cef9 (patch)
tree6efe9dc26579efdec95e0e2f593383f7443fcfc0 /docs/api
parent25198d48f7e799ff350c8c7c57518b6ee49e6f8d (diff)
parentd977d73b91dbf8e9129de0478c51114d7d462edf (diff)
downloadpleroma-4cab98b7bfc2117055c97a36369759047083cef9.tar.gz
Merge remote-tracking branch 'origin/develop' into explicit-addressing
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/differences_in_mastoapi_responses.md9
1 files changed, 9 insertions, 0 deletions
diff --git a/docs/api/differences_in_mastoapi_responses.md b/docs/api/differences_in_mastoapi_responses.md
index e8629e9ef..52863e43f 100644
--- a/docs/api/differences_in_mastoapi_responses.md
+++ b/docs/api/differences_in_mastoapi_responses.md
@@ -43,6 +43,7 @@ Has these additional fields under the `pleroma` object:
- `confirmation_pending`: boolean, true if a new user account is waiting on email confirmation to be activated
- `hide_followers`: boolean, true when the user has follower hiding enabled
- `hide_follows`: boolean, true when the user has follow hiding enabled
+- `settings_store`: A generic map of settings for frontends. Opaque to the backend. Only returned in `verify_credentials` and `update_credentials`
### Source
@@ -81,6 +82,14 @@ Additional parameters can be added to the JSON body/Form data:
- `hide_favorites` - if true, user's favorites timeline will be hidden
- `show_role` - if true, user's role (e.g admin, moderator) will be exposed to anyone in the API
- `default_scope` - the scope returned under `privacy` key in Source subentity
+- `pleroma_settings_store` - Opaque user settings to be saved on the backend.
+
+### Pleroma Settings Store
+Pleroma has mechanism that allows frontends to save blobs of json for each user on the backend. This can be used to save frontend-specific settings for a user that the backend does not need to know about.
+
+The parameter should have a form of `{frontend_name: {...}}`, with `frontend_name` identifying your type of client, e.g. `pleroma_fe`. It will overwrite everything under this property, but will not overwrite other frontend's settings.
+
+This information is returned in the `verify_credentials` endpoint.
## Authentication