Spec implicit filter event limit (#1463)
Signed-off-by: Stuart Mumford <stuart@cadair.com>
This commit is contained in:
parent
35f5439e00
commit
09e2250a8d
2 changed files with 6 additions and 1 deletions
|
@ -0,0 +1 @@
|
||||||
|
Clarify that servers should enforce a default `limit` on a filter if one is not specified.
|
|
@ -14,7 +14,11 @@
|
||||||
title: EventFilter
|
title: EventFilter
|
||||||
properties:
|
properties:
|
||||||
limit:
|
limit:
|
||||||
description: The maximum number of events to return.
|
description: |
|
||||||
|
The maximum number of events to return, must be an integer greater than 0.
|
||||||
|
|
||||||
|
Servers should apply a default value, and impose a maximum value to avoid
|
||||||
|
resource exhaustion.
|
||||||
type: integer
|
type: integer
|
||||||
not_senders:
|
not_senders:
|
||||||
description: A list of sender IDs to exclude. If this list is absent then no senders
|
description: A list of sender IDs to exclude. If this list is absent then no senders
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue