Spec implicit filter event limit (#1463)

Signed-off-by: Stuart Mumford <stuart@cadair.com>
pull/1424/head^2
Stuart Mumford 1 year ago committed by GitHub
parent 35f5439e00
commit 09e2250a8d
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -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
properties:
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
not_senders:
description: A list of sender IDs to exclude. If this list is absent then no senders

Loading…
Cancel
Save