aboutsummaryrefslogtreecommitdiff
path: root/docs/api
diff options
context:
space:
mode:
authorlambda <lain@soykaf.club>2019-04-02 14:17:43 +0000
committerlambda <lain@soykaf.club>2019-04-02 14:17:43 +0000
commita79ce94dd4f0b6435ec2aaba5d8867984b491664 (patch)
tree206c03ce4a82e7a047947126577241cda0fd1f69 /docs/api
parent180b87257cae481d4d9ffc9f03a06268ad8df569 (diff)
parentfdb4357e9ba7a34a603997d50d85593ca2bf6395 (diff)
downloadpleroma-a79ce94dd4f0b6435ec2aaba5d8867984b491664.tar.gz
Merge branch 'feature/fake-statuses' into 'develop'
Add fake status submit See merge request pleroma/pleroma!995
Diffstat (limited to 'docs/api')
-rw-r--r--docs/api/differences_in_mastoapi_responses.md6
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/api/differences_in_mastoapi_responses.md b/docs/api/differences_in_mastoapi_responses.md
index d993d1383..7adf29676 100644
--- a/docs/api/differences_in_mastoapi_responses.md
+++ b/docs/api/differences_in_mastoapi_responses.md
@@ -44,3 +44,9 @@ Has these additional fields under the `pleroma` object:
Has these additional fields under the `pleroma` object:
- `is_seen`: true if the notification was read by the user
+
+## POST `/api/v1/statuses`
+
+Additional parameters can be added to the JSON body:
+
+- `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.