From 7cf6355ba7e5a0c857a9354e5b5ea90eaf2ab111 Mon Sep 17 00:00:00 2001 From: Paul Date: Mon, 20 May 2019 17:52:31 +0200 Subject: [PATCH 1/3] Update notifications.md to include `from_account` This PR is dependent on another PR getting merged: https://github.com/tootsuite/mastodon/pull/10796 . If that PR is not accepted, this can also be closed --- content/en/api/rest/notifications.md | 1 + 1 file changed, 1 insertion(+) diff --git a/content/en/api/rest/notifications.md b/content/en/api/rest/notifications.md index bf9e6109..8a1e06d9 100644 --- a/content/en/api/rest/notifications.md +++ b/content/en/api/rest/notifications.md @@ -25,6 +25,7 @@ Returns array of [Notification]({{< relref "entities.md#notification" >}}) | `min_id` | Return results immediately newer than ID | Optional || | `limit` | Maximum number of results | Optional | 20 | | `exclude_types` | Array of types to exclude (e.g. `follow`, `favourite`, `reblog`, `mention`) | Optional || +| `from_account` | username@domain of user to include | Optional || ### Pagination From 04768e73ee464b251abf29eba1b3e04397acaecc Mon Sep 17 00:00:00 2001 From: Paul Woolcock Date: Tue, 21 May 2019 09:12:08 -0400 Subject: [PATCH 2/3] Change parameter name to `account_id` --- content/en/api/rest/notifications.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/api/rest/notifications.md b/content/en/api/rest/notifications.md index 8a1e06d9..142f466c 100644 --- a/content/en/api/rest/notifications.md +++ b/content/en/api/rest/notifications.md @@ -25,7 +25,7 @@ Returns array of [Notification]({{< relref "entities.md#notification" >}}) | `min_id` | Return results immediately newer than ID | Optional || | `limit` | Maximum number of results | Optional | 20 | | `exclude_types` | Array of types to exclude (e.g. `follow`, `favourite`, `reblog`, `mention`) | Optional || -| `from_account` | username@domain of user to include | Optional || +| `account_id` | account id of user to include | Optional || ### Pagination From bcff8d180d778fc1a63cf2d04c8fde64cc90fe18 Mon Sep 17 00:00:00 2001 From: Eugen Rochko Date: Tue, 11 Jun 2019 16:45:23 +0200 Subject: [PATCH 3/3] Update notifications.md --- content/en/api/rest/notifications.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/content/en/api/rest/notifications.md b/content/en/api/rest/notifications.md index 142f466c..93c289a7 100644 --- a/content/en/api/rest/notifications.md +++ b/content/en/api/rest/notifications.md @@ -25,7 +25,7 @@ Returns array of [Notification]({{< relref "entities.md#notification" >}}) | `min_id` | Return results immediately newer than ID | Optional || | `limit` | Maximum number of results | Optional | 20 | | `exclude_types` | Array of types to exclude (e.g. `follow`, `favourite`, `reblog`, `mention`) | Optional || -| `account_id` | account id of user to include | Optional || +| `account_id` | Return only notifications sent from given account | Optional || ### Pagination