[bugfix] Return all accounts when list accounts limit <= 0 (#2014)

This commit is contained in:
tobi
2023-07-21 14:56:38 +02:00
committed by GitHub
parent d6fa74e5dc
commit 89ee9d5004
6 changed files with 451 additions and 23 deletions

View File

@@ -4873,9 +4873,11 @@ paths:
in: query
name: min_id
type: string
- default: 20
description: Number of accounts to return.
- default: 40
description: 'Number of accounts to return. If set to 0 explicitly, all accounts in the list will be returned, and pagination headers will not be used. This is a workaround for Mastodon API peculiarities: https://docs.joinmastodon.org/methods/lists/#query-parameters.'
in: query
maximum: 80
minimum: 0
name: limit
type: integer
produces: