Don't spec a specific number for the limit

Signed-off-by: Stuart Mumford <stuart@cadair.com>
This commit is contained in:
Stuart Mumford 2023-03-14 19:32:00 +00:00
parent c35df15bdd
commit 34a5ad8d70
No known key found for this signature in database
GPG key ID: 60BC5C03E6276769

View file

@ -14,7 +14,11 @@
title: EventFilter title: EventFilter
properties: properties:
limit: limit:
description: The maximum number of events to return. If not specified defaults to 10. 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