diff options
author | marcin mikołajczak <git@mkljczk.pl> | 2021-12-06 18:00:58 +0100 |
---|---|---|
committer | marcin mikołajczak <git@mkljczk.pl> | 2021-12-06 19:36:58 +0100 |
commit | 64a4c147b1836be8af0c87b23073ed82bb9cf67c (patch) | |
tree | 60d3bd68759ec54909502822b0310b811f2d82f3 /lib/pleroma/web/api_spec | |
parent | 5c573a8a282725a9f2595fa264d794870a832a8a (diff) | |
download | pleroma-64a4c147b1836be8af0c87b23073ed82bb9cf67c.tar.gz |
MastoAPI: accept notify param in follow request
Signed-off-by: marcin mikołajczak <git@mkljczk.pl>
Diffstat (limited to 'lib/pleroma/web/api_spec')
-rw-r--r-- | lib/pleroma/web/api_spec/operations/account_operation.ex | 6 |
1 files changed, 6 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 54e5ebc76..cb978c775 100644 --- a/lib/pleroma/web/api_spec/operations/account_operation.ex +++ b/lib/pleroma/web/api_spec/operations/account_operation.ex @@ -226,6 +226,12 @@ defmodule Pleroma.Web.ApiSpec.AccountOperation do type: :boolean, description: "Receive this account's reblogs in home timeline? Defaults to true.", default: true + }, + notify: %Schema{ + type: :boolean, + description: + "Receive notifications for all statuses posted by the account? Defaults to false.", + default: false } } }, |