aboutsummaryrefslogtreecommitdiff
path: root/docs/API
diff options
context:
space:
mode:
authorHaelwenn <contact+git.pleroma.social@hacktivis.me>2019-10-19 19:55:16 +0000
committerHaelwenn <contact+git.pleroma.social@hacktivis.me>2019-10-19 19:55:16 +0000
commitcec4b00140ea67de5933357f46e9519271a074a9 (patch)
treecd96776891e12f87d59d55b5b98e277699b0136b /docs/API
parent289f011e0aae5c6365e30bf0db533d597e48e702 (diff)
parent52ed2f8f2d962154ba61b31a3f5aab13dc7217fc (diff)
downloadpleroma-cec4b00140ea67de5933357f46e9519271a074a9.tar.gz
Merge branch 'mark-all-conversations-as-read' into 'develop'
Pleroma API: `POST /api/v1/pleroma/conversations/read` See merge request pleroma/pleroma!1830
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`