Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/mail.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAnna Larch <anna@nextcloud.com>2021-06-23 14:03:52 +0300
committerAnna Larch <anna@nextcloud.com>2021-08-24 13:41:14 +0300
commit2422e15270ab69b1da62f01231018c078738a66d (patch)
tree65bb81dd0153972c48f740dfb72f65e07b179872 /appinfo
parent251d6f0d23a3dcaa41daaf84d12fd10a85095515 (diff)
Create anti spam report feature
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php10
1 files changed, 10 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index ce6107c54..6242fe0e2 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -260,6 +260,16 @@ return [
'verb' => 'DELETE'
],
[
+ 'name' => 'settings#setAntiSpamEmail',
+ 'url' => '/api/settings/antispam',
+ 'verb' => 'POST'
+ ],
+ [
+ 'name' => 'settings#deleteAntiSpamEmail',
+ 'url' => '/api/settings/antispam',
+ 'verb' => 'DELETE'
+ ],
+ [
'name' => 'trusted_senders#setTrusted',
'url' => '/api/trustedsenders/{email}',
'verb' => 'PUT'