diff options
author | Joas Schilling <coding@schilljs.com> | 2023-12-01 09:15:18 +0100 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2023-12-01 09:15:18 +0100 |
commit | 6eef5c9f1bec391fdb95e92190238a5c70dbce25 (patch) | |
tree | bf7e89030fd4595772b5228a9df082f9991b71ea /apps/dav/appinfo | |
parent | 3267ad763088a6640e63962953523471608eb3ed (diff) | |
download | nextcloud-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.php | 2 |
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'], ], ]; |