Fix NotificationRequest
fields (#1477)
* NotificationRequest uses `account`, not `from_account` The example below is correctly using `account` already. * Fix `notifications_count` type
This commit is contained in:
parent
c0353e222b
commit
c7d87cda76
1 changed files with 2 additions and 5 deletions
|
@ -32,7 +32,7 @@ aliases: [
|
||||||
**Version history:**\
|
**Version history:**\
|
||||||
4.3.0 - added
|
4.3.0 - added
|
||||||
|
|
||||||
### `from_account` {#from_account}
|
### `account` {#account}
|
||||||
|
|
||||||
**Description:** The account that performed the action that generated the filtered notifications.\
|
**Description:** The account that performed the action that generated the filtered notifications.\
|
||||||
**Type:** [Account]({{< relref "entities/Account" >}})\
|
**Type:** [Account]({{< relref "entities/Account" >}})\
|
||||||
|
@ -42,7 +42,7 @@ aliases: [
|
||||||
### `notifications_count` {#notifications_count}
|
### `notifications_count` {#notifications_count}
|
||||||
|
|
||||||
**Description:** How many of this account's notifications were filtered.\
|
**Description:** How many of this account's notifications were filtered.\
|
||||||
**Type:** Integer\
|
**Type:** String\
|
||||||
**Version history:**\
|
**Version history:**\
|
||||||
4.3.0 - added
|
4.3.0 - added
|
||||||
|
|
||||||
|
@ -102,6 +102,3 @@ aliases: [
|
||||||
{{< page-relref ref="methods/notifications" caption="notifications API methods" >}}
|
{{< page-relref ref="methods/notifications" caption="notifications API methods" >}}
|
||||||
|
|
||||||
{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/serializers/rest/notification_request_serializer.rb" caption="app/serializers/rest/notification_request_serializer.rb" >}}
|
{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/serializers/rest/notification_request_serializer.rb" caption="app/serializers/rest/notification_request_serializer.rb" >}}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue