Commit 309d698d authored by Alibek Omarov's avatar Alibek Omarov

docs: API: document conversation mutes

parent 52a0bf62
Pipeline #21907 passed with stages
in 7 minutes and 47 seconds
...@@ -459,3 +459,25 @@ Emoji reactions work a lot like favourites do. They make it possible to react to ...@@ -459,3 +459,25 @@ Emoji reactions work a lot like favourites do. They make it possible to react to
"🗡" => [{"id" => "abc..."}] "🗡" => [{"id" => "abc..."}]
} }
``` ```
# Conversation mutes
Fetching muted conversations is done with `with_muted=true` passed to any timeline query.
Muted converstaions have `thread_muted` field set to true in `pleroma` object of status.
Conversations are muted starting from OP post.
## `POST /api/v1/statuses/:id/unmute`
### Unmute conversation
* Method: `POST`
* Authentication: required
* Params: None
* Response: JSON, the status
## `POST /api/v1/statuses/:id/mute`
### Mute conversation
* Method: `POST`
* Authentication: required
* Params: None
* Response: JSON, the status
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment