Skip to content
Snippets Groups Projects
Verified Commit 02ca8a36 authored by Alexander Strizhakov's avatar Alexander Strizhakov
Browse files

default page size for files

parent 0c739b42
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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"
)
],
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment