diff options
author | Anna Larch <anna@nextcloud.com> | 2021-06-23 14:03:52 +0300 |
---|---|---|
committer | Anna Larch <anna@nextcloud.com> | 2021-08-24 13:41:14 +0300 |
commit | 2422e15270ab69b1da62f01231018c078738a66d (patch) | |
tree | 65bb81dd0153972c48f740dfb72f65e07b179872 /appinfo | |
parent | 251d6f0d23a3dcaa41daaf84d12fd10a85095515 (diff) |
Create anti spam report feature
Signed-off-by: Anna Larch <anna@nextcloud.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 10 |
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' |