1
0
mirror of https://git.pleroma.social/sjw/pleroma.git synced 2024-12-25 06:35:12 +01:00

Add documentation

This commit is contained in:
Egor Kislitsyn 2019-05-14 20:27:40 +07:00
parent 8feea72781
commit fc9b4410c4

View File

@ -69,6 +69,7 @@ Additional parameters can be added to the JSON body/Form data:
- `preview`: boolean, if set to `true` the post won't be actually posted, but the status entitiy would still be rendered back. This could be useful for previewing rich text/custom emoji, for example.
- `content_type`: string, contain the MIME type of the status, it is transformed into HTML by the backend. You can get the list of the supported MIME types with the nodeinfo endpoint.
- `visibility`: string, besides standard MastoAPI values (`direct`, `private`, `unlisted` or `public`) it can be used to address a List by setting it to `list:LIST_ID`.
## PATCH `/api/v1/update_credentials`