summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-03-31 09:31:15 +0200
committerJoas Schilling <coding@schilljs.com>2022-03-31 15:05:34 +0200
commit7b66c817fe3cbfe65689366591976ee698dee534 (patch)
tree12f8e207a78521c38563ed5dc191edd157cc5c04 /appinfo
parent5278e716c7e45c0751257cc0b14db1fbe344f40b (diff)
Use attachment service to store and retrieve shared items
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes/routesChatController.php2
1 files changed, 2 insertions, 0 deletions
diff --git a/appinfo/routes/routesChatController.php b/appinfo/routes/routesChatController.php
index 55f31b981..b9670c911 100644
--- a/appinfo/routes/routesChatController.php
+++ b/appinfo/routes/routesChatController.php
@@ -52,6 +52,8 @@ return [
['name' => 'Chat#mentions', 'url' => '/api/{apiVersion}/chat/{token}/mentions', 'verb' => 'GET', 'requirements' => $requirements],
/** @see \OCA\Talk\Controller\ChatController::shareObjectToChat() */
['name' => 'Chat#shareObjectToChat', 'url' => '/api/{apiVersion}/chat/{token}/share', 'verb' => 'POST', 'requirements' => $requirements],
+ /** @see \OCA\Talk\Controller\ChatController::getObjectsSharedInRoomOverview() */
+ ['name' => 'Chat#getObjectsSharedInRoomOverview', 'url' => '/api/{apiVersion}/chat/{token}/share/overview', 'verb' => 'GET', 'requirements' => $requirements],
/** @see \OCA\Talk\Controller\ChatController::getObjectsSharedInRoom() */
['name' => 'Chat#getObjectsSharedInRoom', 'url' => '/api/{apiVersion}/chat/{token}/share', 'verb' => 'GET', 'requirements' => $requirements],
],