From d7b090f0afb988dbc210cc145e48f64d398cb393 Mon Sep 17 00:00:00 2001 From: Ornithologist Coder Date: Thu, 25 May 2017 17:46:01 +0200 Subject: [PATCH] Adds notifications/dismiss/:id (Fixes #265) @Kimik0 noticed the endpoint was missing. Read more about it here #265 --- 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 bc294a9..f47e390 100644 --- a/Using-the-API/API.md +++ b/Using-the-API/API.md @@ -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: