mirror of
https://git.pleroma.social/pleroma/pleroma.git
synced 2024-12-22 16:16:34 +00:00
Update docs
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
This commit is contained in:
parent
071452a5d5
commit
855c5a234f
2 changed files with 9 additions and 2 deletions
|
@ -97,6 +97,11 @@ Endpoints which accept `with_relationships` parameter:
|
||||||
- `/api/v1/accounts/:id/following`
|
- `/api/v1/accounts/:id/following`
|
||||||
- `/api/v1/mutes`
|
- `/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:
|
Has these additional fields under the `pleroma` object:
|
||||||
|
|
||||||
- `ap_id`: nullable URL string, ActivityPub id of the user
|
- `ap_id`: nullable URL string, ActivityPub id of the user
|
||||||
|
@ -255,6 +260,8 @@ Additional parameters can be added to the JSON body/Form data:
|
||||||
- `actor_type` - the type of this account.
|
- `actor_type` - the type of this account.
|
||||||
- `accepts_chat_messages` - if false, this account will reject all chat messages.
|
- `accepts_chat_messages` - if false, this account will reject all chat messages.
|
||||||
- `language` - user's preferred language for receiving emails (digest, confirmation, etc.)
|
- `language` - user's preferred language for receiving emails (digest, confirmation, etc.)
|
||||||
|
- `avatar_description` - image description for user avatar
|
||||||
|
- `header_description` - image description for user banner
|
||||||
|
|
||||||
All images (avatar, banner and background) can be reset to the default by sending an empty string ("") instead of a file.
|
All images (avatar, banner and background) can be reset to the default by sending an empty string ("") instead of a file.
|
||||||
|
|
||||||
|
|
|
@ -147,7 +147,7 @@ defmodule Pleroma.Web.ApiSpec.Schemas.Account do
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
},
|
||||||
avatar_description: %Schema{type: :string},
|
avatar_description: %Schema{type: :string},
|
||||||
header_description: %Schema{type: :string}
|
header_description: %Schema{type: :string}
|
||||||
},
|
},
|
||||||
|
|
Loading…
Reference in a new issue