default page size for files
This commit is contained in:
parent
0c739b423a
commit
02ca8a363f
@ -478,7 +478,7 @@ The status posting endpoint takes an additional parameter, `in_reply_to_conversa
|
|||||||
* Authentication: not required
|
* Authentication: not required
|
||||||
* Params:
|
* Params:
|
||||||
* `page`: page number for files (default 1)
|
* `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.
|
* Response: JSON, pack json with `files`, `files_count` and `pack` keys with 200 status or 404 if the pack does not exist.
|
||||||
|
|
||||||
```json
|
```json
|
||||||
|
@ -69,7 +69,7 @@ defmodule Pleroma.Web.ApiSpec.PleromaEmojiPackOperation do
|
|||||||
Operation.parameter(
|
Operation.parameter(
|
||||||
:page_size,
|
:page_size,
|
||||||
:query,
|
:query,
|
||||||
%Schema{type: :integer, default: 50},
|
%Schema{type: :integer, default: 30},
|
||||||
"Number of statuses to return"
|
"Number of statuses to return"
|
||||||
)
|
)
|
||||||
],
|
],
|
||||||
|
Loading…
Reference in New Issue
Block a user