From: Haelwenn (lanodan) Monnier Date: Sun, 21 Apr 2019 10:48:40 +0000 (+0200) Subject: differences_in_mastoapi_responses.md: `content_type` parameter of post submission X-Git-Url: https://git.squeep.com/?a=commitdiff_plain;h=d0863197330d3d0ed12c884b651599e60da5467d;p=akkoma differences_in_mastoapi_responses.md: `content_type` parameter of post submission --- diff --git a/docs/api/differences_in_mastoapi_responses.md b/docs/api/differences_in_mastoapi_responses.md index ed3fd9b67..63644fc56 100644 --- a/docs/api/differences_in_mastoapi_responses.md +++ b/docs/api/differences_in_mastoapi_responses.md @@ -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.