summaryrefslogtreecommitdiffstats
path: root/apps/dav/appinfo
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2023-12-01 09:15:18 +0100
committerJoas Schilling <coding@schilljs.com>2023-12-01 09:15:18 +0100
commit6eef5c9f1bec391fdb95e92190238a5c70dbce25 (patch)
treebf7e89030fd4595772b5228a9df082f9991b71ea /apps/dav/appinfo
parent3267ad763088a6640e63962953523471608eb3ed (diff)
downloadnextcloud-server-6eef5c9f1bec391fdb95e92190238a5c70dbce25.tar.gz
nextcloud-server-6eef5c9f1bec391fdb95e92190238a5c70dbce25.zip
feat(out-of-office): Add OCS endpoint to set and clear absence
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'apps/dav/appinfo')
-rw-r--r--apps/dav/appinfo/routes.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/apps/dav/appinfo/routes.php b/apps/dav/appinfo/routes.php
index 1b2fa0094bf..d4a9f4cbeeb 100644
--- a/apps/dav/appinfo/routes.php
+++ b/apps/dav/appinfo/routes.php
@@ -36,5 +36,7 @@ return [
'ocs' => [
['name' => 'direct#getUrl', 'url' => '/api/v1/direct', 'verb' => 'POST'],
['name' => 'out_of_office#getCurrentOutOfOfficeData', 'url' => '/api/v1/outOfOffice/{userId}', 'verb' => 'GET'],
+ ['name' => 'out_of_office#setOutOfOffice', 'url' => '/api/v1/outOfOffice/{userId}', 'verb' => 'POST'],
+ ['name' => 'out_of_office#clearOutOfOffice', 'url' => '/api/v1/outOfOffice/{userId}', 'verb' => 'DELETE'],
],
];