aboutsummaryrefslogtreecommitdiff
path: root/docs/API
diff options
context:
space:
mode:
authoreugenijm <eugenijm@protonmail.com>2019-10-11 06:40:58 +0300
committereugenijm <eugenijm@protonmail.com>2019-10-19 15:24:06 +0300
commit52ed2f8f2d962154ba61b31a3f5aab13dc7217fc (patch)
tree5f8bb7897cbab18831388a1924e63456fc7fa442 /docs/API
parentfd6d05dc45e2fdff56e777431b303fc24ef7912f (diff)
downloadpleroma-52ed2f8f2d962154ba61b31a3f5aab13dc7217fc.tar.gz
Pleroma API: `POST /api/v1/pleroma/conversations/read` to mark all user's conversations as read
Diffstat (limited to 'docs/API')
-rw-r--r--docs/API/pleroma_api.md7
1 files changed, 7 insertions, 0 deletions
diff --git a/docs/API/pleroma_api.md b/docs/API/pleroma_api.md
index 0517bbdd7..6c326dc9b 100644
--- a/docs/API/pleroma_api.md
+++ b/docs/API/pleroma_api.md
@@ -367,6 +367,13 @@ The status posting endpoint takes an additional parameter, `in_reply_to_conversa
* `recipients`: A list of ids of users that should receive posts to this conversation. This will replace the current list of recipients, so submit the full list. The owner of owner of the conversation will always be part of the set of recipients, though.
* Response: JSON, statuses (200 - healthy, 503 unhealthy)
+## `GET /api/v1/pleroma/conversations/read`
+### Marks all user's conversations as read.
+* Method `POST`
+* Authentication: required
+* Params: None
+* Response: JSON, returns a list of Mastodon Conversation entities that were marked as read (200 - healthy, 503 unhealthy).
+
## `GET /api/pleroma/emoji/packs`
### Lists the custom emoji packs on the server
* Method `GET`