projects
/
akkoma
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
MastoAPI: accept notify param in follow request
[akkoma]
/
lib
/
pleroma
/
web
/
api_spec
/
operations
/
account_operation.ex
diff --git
a/lib/pleroma/web/api_spec/operations/account_operation.ex
b/lib/pleroma/web/api_spec/operations/account_operation.ex
index 54e5ebc76e2ae943e02b3026d85799f7cf511641..cb978c775bfeb9c008168277ffc24bc65aa7b64b 100644
(file)
--- 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
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
}
}
},
}
}
},