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")
This commit is contained in:
Thomas 2017-11-07 15:26:26 +01:00 committed by Eugen Rochko
parent 32b98791df
commit 7c05a8eee5
1 changed files with 1 additions and 0 deletions

View File

@ -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.