aboutsummaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo
diff options
context:
space:
mode:
authorRichard Steinmetz <richard@steinmetz.cloud>2023-10-04 12:31:46 +0200
committerRichard Steinmetz <richard@steinmetz.cloud>2023-11-07 17:27:10 +0100
commit425e770c0447e5dc5e812f52163c0bbc96badbe7 (patch)
tree54a95ffcdff06d0e017ce4fe3fc3e8fcdb36e312 /apps/dav/appinfo
parent3e6642ab0b4d0a95ef4ebff8553ae93a6b9e6d00 (diff)
downloadnextcloud-server-425e770c0447e5dc5e812f52163c0bbc96badbe7.tar.gz
nextcloud-server-425e770c0447e5dc5e812f52163c0bbc96badbe7.zip
feat(dav): implement personal absence settings
Signed-off-by: Richard Steinmetz <richard@steinmetz.cloud>
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r--apps/dav/appinfo/routes.php5
1 files changed, 4 insertions, 1 deletions
diff --git a/apps/dav/appinfo/routes.php b/apps/dav/appinfo/routes.php
index 6d237ee2a1f..3236c0642af 100644
--- a/apps/dav/appinfo/routes.php
+++ b/apps/dav/appinfo/routes.php
@@ -4,6 +4,7 @@
*
* @author Georg Ehrke <oc.list@georgehrke.com>
* @author Roeland Jago Douma <roeland@famdouma.nl>
+ * @author Richard Steinmetz <richard@steinmetz.cloud>
*
* @license GNU AGPL version 3 or any later version
*
@@ -28,7 +29,9 @@ return [
['name' => 'invitation_response#accept', 'url' => '/invitation/accept/{token}', 'verb' => 'GET'],
['name' => 'invitation_response#decline', 'url' => '/invitation/decline/{token}', 'verb' => 'GET'],
['name' => 'invitation_response#options', 'url' => '/invitation/moreOptions/{token}', 'verb' => 'GET'],
- ['name' => 'invitation_response#processMoreOptionsResult', 'url' => '/invitation/moreOptions/{token}', 'verb' => 'POST']
+ ['name' => 'invitation_response#processMoreOptionsResult', 'url' => '/invitation/moreOptions/{token}', 'verb' => 'POST'],
+ ['name' => 'availability_settings#updateAbsence', 'url' => '/settings/absence', 'verb' => 'POST'],
+ ['name' => 'availability_settings#clearAbsence', 'url' => '/settings/absence', 'verb' => 'DELETE'],
],
'ocs' => [
['name' => 'direct#getUrl', 'url' => '/api/v1/direct', 'verb' => 'POST'],