diff options
author | lain <lain@soykaf.club> | 2020-11-17 14:08:45 +0000 |
---|---|---|
committer | lain <lain@soykaf.club> | 2020-11-17 14:08:45 +0000 |
commit | fbd6217ed9e07fb0353263566e2978b5a2396189 (patch) | |
tree | 6bbb39b647305521209bebbd7bdea3e4be012d1c /docs/API | |
parent | 9b9afe6b3fde77ef005629fe2d198160c8f465a1 (diff) | |
parent | fec1ed802ef44a700df27aa132146f79e9e4cd6d (diff) | |
download | pleroma-fbd6217ed9e07fb0353263566e2978b5a2396189.tar.gz pleroma-fbd6217ed9e07fb0353263566e2978b5a2396189.zip |
Merge branch 'feature/local-only-scope' into 'develop'
Add local-only statuses
Closes #75 and #1483
See merge request pleroma/pleroma!2289
Diffstat (limited to 'docs/API')
-rw-r--r-- | docs/API/differences_in_mastoapi_responses.md | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/docs/API/differences_in_mastoapi_responses.md b/docs/API/differences_in_mastoapi_responses.md index ba48a2ca1..17999da55 100644 --- a/docs/API/differences_in_mastoapi_responses.md +++ b/docs/API/differences_in_mastoapi_responses.md @@ -18,7 +18,7 @@ Adding the parameter `instance=lain.com` to the public timeline will show only s ## Statuses -- `visibility`: has an additional possible value `list` +- `visibility`: has additional possible values `list` and `local` (for local-only statuses) Has these additional fields under the `pleroma` object: @@ -173,7 +173,7 @@ 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. - `to`: A list of nicknames (like `lain@soykaf.club` or `lain` on the local server) that will be used to determine who is going to be addressed by this post. Using this will disable the implicit addressing by mentioned names in the `status` body, only the people in the `to` list will be addressed. The normal rules for for post visibility are not affected by this and will still apply. -- `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`. +- `visibility`: string, besides standard MastoAPI values (`direct`, `private`, `unlisted`, `local` 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`. |