aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexander Strizhakov <alex.strizhakov@gmail.com>2020-06-19 14:46:38 +0300
committerAlexander Strizhakov <alex.strizhakov@gmail.com>2020-06-19 14:46:38 +0300
commit02ca8a363f738ece7b605940690f6a538f6c2fa8 (patch)
tree8038445e4f89e09a8464e551162424349833d388
parent0c739b423aad4cc6baa3a59308200ca5a5060716 (diff)
downloadpleroma-02ca8a363f738ece7b605940690f6a538f6c2fa8.tar.gz
default page size for files
-rw-r--r--docs/API/pleroma_api.md2
-rw-r--r--lib/pleroma/web/api_spec/operations/pleroma_emoji_pack_operation.ex2
2 files changed, 2 insertions, 2 deletions
diff --git a/docs/API/pleroma_api.md b/docs/API/pleroma_api.md
index e5bc29eb2..b7eee5192 100644
--- a/docs/API/pleroma_api.md
+++ b/docs/API/pleroma_api.md
@@ -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
diff --git a/lib/pleroma/web/api_spec/operations/pleroma_emoji_pack_operation.ex b/lib/pleroma/web/api_spec/operations/pleroma_emoji_pack_operation.ex
index e8abe654d..da7cc5154 100644
--- a/lib/pleroma/web/api_spec/operations/pleroma_emoji_pack_operation.ex
+++ b/lib/pleroma/web/api_spec/operations/pleroma_emoji_pack_operation.ex
@@ -69,7 +69,7 @@ defmodule Pleroma.Web.ApiSpec.PleromaEmojiPackOperation do
Operation.parameter(
:page_size,
:query,
- %Schema{type: :integer, default: 50},
+ %Schema{type: :integer, default: 30},
"Number of statuses to return"
)
],