1
0
Fork 0
forked from mirrors/akkoma

differences_in_mastoapi_responses.md: content_type parameter of post submission

This commit is contained in:
Haelwenn (lanodan) Monnier 2019-04-21 12:48:40 +02:00
parent 6ca82c18a7
commit d086319733
No known key found for this signature in database
GPG key ID: D5B7A8E43C997DEE

View file

@ -58,3 +58,4 @@ Has these additional fields under the `pleroma` object:
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.