We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 35f5439 commit 09e2250Copy full SHA for 09e2250
changelogs/client_server/newsfragments/1463.clarification
@@ -0,0 +1 @@
1
+Clarify that servers should enforce a default `limit` on a filter if one is not specified.
data/api/client-server/definitions/event_filter.yaml
@@ -14,7 +14,11 @@
14
title: EventFilter
15
properties:
16
limit:
17
- description: The maximum number of events to return.
+ description: |
18
+ The maximum number of events to return, must be an integer greater than 0.
19
+
20
+ Servers should apply a default value, and impose a maximum value to avoid
21
+ resource exhaustion.
22
type: integer
23
not_senders:
24
description: A list of sender IDs to exclude. If this list is absent then no senders
0 commit comments