From 7062b20dbc818765ac4dcefa9d4defd72e2e5ec2 Mon Sep 17 00:00:00 2001 From: Ashley Date: Sun, 23 Apr 2017 15:47:29 +1200 Subject: [PATCH] Add documentation for /api/v1/notifications/dismiss --- Using-the-API/API.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/Using-the-API/API.md b/Using-the-API/API.md index c44b074e..19061fc1 100644 --- a/Using-the-API/API.md +++ b/Using-the-API/API.md @@ -292,6 +292,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 the notification from the Mastodon server for the authenticated user. +Returns an empty object. + ### Reports #### Fetching a user's reports: