Fix notification query param LIMIT doc
The notification query param LIMIT should return 40 notifications as default & Maximum notifications depends on the LIMIT param as evident from the code in api/v1/notifications_controller
This commit is contained in:
parent
fe555118d6
commit
55e3115070
|
@ -67,7 +67,7 @@ min_id
|
|||
: String. Return results immediately newer than this ID
|
||||
|
||||
limit
|
||||
: Integer. Maximum number of results to return. Defaults to 15 notifications. Max 30 notifications.
|
||||
: Integer. Maximum number of results to return. Defaults to 40 notifications. Max notifications depends on the limit param.
|
||||
|
||||
types[]
|
||||
: Array of String. Types to include in the result.
|
||||
|
@ -394,4 +394,4 @@ Invalid or missing Authorization header.
|
|||
|
||||
{{< page-relref ref="methods/push" caption="push API methods" >}}
|
||||
|
||||
{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/notifications_controller.rb" caption="app/controllers/api/v1/notifications_controller.rb" >}}
|
||||
{{< caption-link url="https://github.com/mastodon/mastodon/blob/main/app/controllers/api/v1/notifications_controller.rb" caption="app/controllers/api/v1/notifications_controller.rb" >}}
|
||||
|
|
Loading…
Reference in New Issue