Allow to mark a single notification as read
This commit is contained in:
parent
4b3c86c1a6
commit
43fb03be5a
5 changed files with 62 additions and 0 deletions
|
|
@ -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"}`
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue