1
0
mirror of https://github.com/mastodon/documentation synced 2025-04-11 22:56:17 +02:00

Adds notifications/dismiss/:id (Fixes #265)

@Kimik0 noticed the endpoint was missing. Read more about it here #265
This commit is contained in:
Ornithologist Coder 2017-05-25 17:46:01 +02:00 committed by GitHub
parent 998efd960a
commit d7b090f0af

View File

@ -373,6 +373,13 @@ Returns the [Notification](#notification).
Deletes all notifications from the Mastodon server for the authenticated user.
Returns an empty object.
#### Dismissing a single notification:
POST /api/v1/notifications/dismiss/:id
Deletes a single notification from the Mastodon server for the authenticated user.
Returns an empty object.
### Reports
#### Fetching a user's reports: