Skip to content

Commit

Permalink
Don't spec a specific number for the limit
Browse files Browse the repository at this point in the history
Signed-off-by: Stuart Mumford <[email protected]>
  • Loading branch information
Cadair committed Mar 14, 2023
1 parent c35df15 commit 34a5ad8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion data/api/client-server/definitions/event_filter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,11 @@
title: EventFilter
properties:
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
not_senders:
description: A list of sender IDs to exclude. If this list is absent then no senders
Expand Down

0 comments on commit 34a5ad8

Please sign in to comment.