From 7c05a8eee572e3d6fcf8d94fa44579b0f932a734 Mon Sep 17 00:00:00 2001 From: Thomas Date: Tue, 7 Nov 2017 15:26:26 +0100 Subject: [PATCH] Update API.md (#442) Updates "Fetching a user's notifications": Introduces the array parameter "exclude_types" which allows to filter notifications by its types (ie: "follow", "favourite", "reblog", "mention") --- Using-the-API/API.md | 1 + 1 file changed, 1 insertion(+) diff --git a/Using-the-API/API.md b/Using-the-API/API.md index 80a92bd7..26667b16 100644 --- a/Using-the-API/API.md +++ b/Using-the-API/API.md @@ -386,6 +386,7 @@ Query parameters: | `max_id` | Get a list of notifications with ID less than this value | yes | | `since_id` | Get a list of notifications with ID greater than this value | yes | | `limit` | Maximum number of notifications to get (Default 15, Max 30) | yes | +| `exclude_types` | Array of notifications to exclude (Allowed values: "follow", "favourite", "reblog", "mention") | yes | > **Note:** `max_id` and `since_id` for next and previous pages are provided in the `Link` header. However, it is possible to use the `id` of the returned objects to construct your own URLs.