aboutsummaryrefslogtreecommitdiff
path: root/docs
diff options
context:
space:
mode:
authorkaniini <nenolod@gmail.com>2019-03-16 00:30:04 +0000
committerkaniini <nenolod@gmail.com>2019-03-16 00:30:04 +0000
commit532e8b0a43f496cb2cab75850c385a9f17aee84e (patch)
tree31b8bc6913a212c1739aa6b27feec0c8ac1b16bf /docs
parent4b3c86c1a61a029202a262229c713cc3737b2a1b (diff)
parent43fb03be5a8968c1df23938ed4f5a93825ab476c (diff)
downloadpleroma-532e8b0a43f496cb2cab75850c385a9f17aee84e.tar.gz
Merge branch 'mark-notifications-as-read' into 'develop'
Allow to mark a single notification as read See merge request pleroma/pleroma!941
Diffstat (limited to 'docs')
-rw-r--r--docs/Pleroma-API.md8
1 files changed, 8 insertions, 0 deletions
diff --git a/docs/Pleroma-API.md b/docs/Pleroma-API.md
index 379d3dbed..478c9d874 100644
--- a/docs/Pleroma-API.md
+++ b/docs/Pleroma-API.md
@@ -108,3 +108,11 @@ See [Admin-API](Admin-API.md)
* Response: JSON string. Returns the user flavour or the default one.
* Example response: "glitch"
* Note: This is intended to be used only by mastofe
+
+## `/api/pleroma/notifications/read`
+### Mark a single notification as read
+* Method `POST`
+* Authentication: required
+* Params:
+ * `id`: notifications's id
+* Response: JSON. Returns `{"status": "success"}` if the reading was successful, otherwise returns `{"error": "error_msg"}`