diff options
| author | 2023-07-21 14:56:38 +0200 | |
|---|---|---|
| committer | 2023-07-21 13:56:38 +0100 | |
| commit | 89ee9d50047bd5b3ab1bd3c140a8c97d26050094 (patch) | |
| tree | 68dc01b166c56e223a6ddd094a9c6a7f294664a6 /docs/api | |
| parent | [bugfix] Change maximumPasswordLength to 72 bytes (#2012) (diff) | |
| download | gotosocial-89ee9d50047bd5b3ab1bd3c140a8c97d26050094.tar.xz | |
[bugfix] Return all accounts when list accounts limit <= 0 (#2014)v0.10.0
Diffstat (limited to 'docs/api')
| -rw-r--r-- | docs/api/swagger.yaml | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/docs/api/swagger.yaml b/docs/api/swagger.yaml index a0ee30cab..eb9ec82ee 100644 --- a/docs/api/swagger.yaml +++ b/docs/api/swagger.yaml @@ -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: |
