Skip to content

Commit

Permalink
Adds notifications/dismiss/:id (Fixes mastodon#265)
Browse files Browse the repository at this point in the history
@kimik0 noticed the endpoint was missing. Read more about it here mastodon#265
  • Loading branch information
ornithocoder authored May 25, 2017
1 parent 998efd9 commit d7b090f
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions Using-the-API/API.md
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit d7b090f

Please sign in to comment.