aboutsummaryrefslogtreecommitdiff
path: root/lib/pleroma/web/api_spec
diff options
context:
space:
mode:
authorEgor Kislitsyn <egor@kislitsyn.com>2020-10-30 19:34:02 +0400
committerEgor Kislitsyn <egor@kislitsyn.com>2020-10-30 19:34:02 +0400
commitd2113428c027580f1cd4854f6610d64ee9643fd2 (patch)
tree36f419da14980da0fcad0e1802e7e627a5540d48 /lib/pleroma/web/api_spec
parent4a2d7a7a5db2544ffc84e1f0eb0dc86e1cb3c32c (diff)
parent131f3219e6b895139c5647cd2050dd22adce7139 (diff)
downloadpleroma-d2113428c027580f1cd4854f6610d64ee9643fd2.tar.gz
Merge remote-tracking branch 'origin/develop' into feature/account-export
Diffstat (limited to 'lib/pleroma/web/api_spec')
-rw-r--r--lib/pleroma/web/api_spec/operations/account_operation.ex2
1 files changed, 2 insertions, 0 deletions
diff --git a/lib/pleroma/web/api_spec/operations/account_operation.ex b/lib/pleroma/web/api_spec/operations/account_operation.ex
index d90ddb787..4934b7788 100644
--- a/lib/pleroma/web/api_spec/operations/account_operation.ex
+++ b/lib/pleroma/web/api_spec/operations/account_operation.ex
@@ -335,6 +335,7 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
operationId: "AccountController.mutes",
description: "Accounts the user has muted.",
security: [%{"oAuth" => ["follow", "read:mutes"]}],
+ parameters: pagination_params(),
responses: %{
200 => Operation.response("Accounts", "application/json", array_of_accounts())
}
@@ -348,6 +349,7 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do
operationId: "AccountController.blocks",
description: "View your blocks. See also accounts/:id/{block,unblock}",
security: [%{"oAuth" => ["read:blocks"]}],
+ parameters: pagination_params(),
responses: %{
200 => Operation.response("Accounts", "application/json", array_of_accounts())
}