1
0
Fork 0
forked from mirrors/akkoma

default page size for files

This commit is contained in:
Alexander Strizhakov 2020-06-19 14:46:38 +03:00
parent 0c739b423a
commit 02ca8a363f
No known key found for this signature in database
GPG key ID: 022896A53AEF1381
2 changed files with 2 additions and 2 deletions

View file

@ -478,7 +478,7 @@ The status posting endpoint takes an additional parameter, `in_reply_to_conversa
* Authentication: not required
* Params:
* `page`: page number for files (default 1)
* `page_size`: page size for files (default 50)
* `page_size`: page size for files (default 30)
* Response: JSON, pack json with `files`, `files_count` and `pack` keys with 200 status or 404 if the pack does not exist.
```json

View file

@ -69,7 +69,7 @@ def show_operation do
Operation.parameter(
:page_size,
:query,
%Schema{type: :integer, default: 50},
%Schema{type: :integer, default: 30},
"Number of statuses to return"
)
],