summaryrefslogtreecommitdiff
path: root/docs/development/API
diff options
context:
space:
mode:
authormarcin mikołajczak <git@mkljczk.pl>2024-08-17 19:59:39 +0200
committermarcin mikołajczak <git@mkljczk.pl>2024-08-17 19:59:39 +0200
commit3498662712c088cf578e7241c12aa1e5da42745a (patch)
tree95d097a21d59f1b259b16d3db4eddaf344a97cd5 /docs/development/API
parentc802f3b7f61e1c4bbe2f4eec757802e30f88b6a5 (diff)
downloadpleroma-3498662712c088cf578e7241c12aa1e5da42745a.tar.gz
pleroma-3498662712c088cf578e7241c12aa1e5da42745a.zip
Move new fields to pleroma object
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Diffstat (limited to 'docs/development/API')
-rw-r--r--docs/development/API/differences_in_mastoapi_responses.md7
1 files changed, 2 insertions, 5 deletions
diff --git a/docs/development/API/differences_in_mastoapi_responses.md b/docs/development/API/differences_in_mastoapi_responses.md
index 114d6e32d..22a26b77b 100644
--- a/docs/development/API/differences_in_mastoapi_responses.md
+++ b/docs/development/API/differences_in_mastoapi_responses.md
@@ -97,11 +97,6 @@ Endpoints which accept `with_relationships` parameter:
- `/api/v1/accounts/:id/following`
- `/api/v1/mutes`
-Has these additional fields:
-
-- `avatar_description`: string, image description for user avatar, defaults to empty string
-- `header_description`: string, image description for user banner, defaults to empty string
-
Has these additional fields under the `pleroma` object:
- `ap_id`: nullable URL string, ActivityPub id of the user
@@ -125,6 +120,8 @@ Has these additional fields under the `pleroma` object:
- `notification_settings`: object, can be absent. See `/api/v1/pleroma/notification_settings` for the parameters/keys returned.
- `accepts_chat_messages`: boolean, but can be null if we don't have that information about a user
- `favicon`: nullable URL string, Favicon image of the user's instance
+- `avatar_description`: string, image description for user avatar, defaults to empty string
+- `header_description`: string, image description for user banner, defaults to empty string
### Source