Add local-only statuses
This commit is contained in:
parent
b48724afcd
commit
4f79bbbc31
16 changed files with 332 additions and 163 deletions
|
|
@ -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`
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue