Update API.md (#359)

This commit is contained in:
stom79 2017-07-30 12:53:07 +02:00 committed by Eugen Rochko
parent 6bba74e6ac
commit 5457849bac
1 changed files with 7 additions and 1 deletions

View File

@ -405,7 +405,13 @@ Returns an empty object.
#### Dismissing a single notification:
POST /api/v1/notifications/dismiss/:id
POST /api/v1/notifications/dismiss
Form data:
| Field | Description | Optional |
| ----- | ---------------------------- | ---------- |
| `id` | Notification ID | no |
Deletes a single notification from the Mastodon server for the authenticated user.
Returns an empty object.