diff options
author | rinpatch <rinpatch@sdf.org> | 2019-03-29 22:15:20 +0300 |
---|---|---|
committer | rinpatch <rinpatch@sdf.org> | 2019-03-29 22:15:20 +0300 |
commit | 42b779527c551595399771fbc3c0701d38a3ed3d (patch) | |
tree | 62866ffe559d1358079edf264e2e43bcb06daccf /docs/api | |
parent | 1bb4d5d65be725f374e06da88a5e8e826660596b (diff) | |
download | pleroma-42b779527c551595399771fbc3c0701d38a3ed3d.tar.gz |
document fake option
Diffstat (limited to 'docs/api')
-rw-r--r-- | docs/api/differences_in_mastoapi_responses.md | 6 |
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..f5ce7493d 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: + +- `fake`: 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. |