diff options
author | Egor Kislitsyn <egor@kislitsyn.com> | 2020-10-02 21:00:50 +0400 |
---|---|---|
committer | Egor Kislitsyn <egor@kislitsyn.com> | 2020-10-15 18:37:44 +0400 |
commit | 4f79bbbc31c10c1d55c9fee4002f36ef16b95dbf (patch) | |
tree | 1ae138def7d6828c71f2d478060b9be8de90bdc0 /docs/API | |
parent | b48724afcdd9d46d6533aafdea4df1cc2d23b6ae (diff) | |
download | pleroma-4f79bbbc31c10c1d55c9fee4002f36ef16b95dbf.tar.gz |
Add local-only statuses
Diffstat (limited to 'docs/API')
-rw-r--r-- | docs/API/differences_in_mastoapi_responses.md | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/docs/API/differences_in_mastoapi_responses.md b/docs/API/differences_in_mastoapi_responses.md index 38865dc68..1e932d908 100644 --- a/docs/API/differences_in_mastoapi_responses.md +++ b/docs/API/differences_in_mastoapi_responses.md @@ -28,6 +28,7 @@ Has these additional fields under the `pleroma` object: - `thread_muted`: true if the thread the post belongs to is muted - `emoji_reactions`: A list with emoji / reaction maps. The format is `{name: "☕", count: 1, me: true}`. Contains no information about the reacting users, for that use the `/statuses/:id/reactions` endpoint. - `parent_visible`: If the parent of this post is visible to the user or not. +- `local_only`: true for local-only, non-federated posts. ## Media Attachments @@ -154,6 +155,7 @@ Additional parameters can be added to the JSON body/Form data: - `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`. - `expires_in`: The number of seconds the posted activity should expire in. When a posted activity expires it will be deleted from the server, and a delete request for it will be federated. This needs to be longer than an hour. - `in_reply_to_conversation_id`: Will reply to a given conversation, addressing only the people who are part of the recipient set of that conversation. Sets the visibility to `direct`. +- `local_only`: boolean, if set to `true` the post won't be federated. ## GET `/api/v1/statuses` |