diff options
author | Vincent Petry <vincent@nextcloud.com> | 2020-12-02 14:22:01 +0300 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2020-12-11 20:15:48 +0300 |
commit | 353206e1e695d531f2a51003ac93cfc3cd669bce (patch) | |
tree | 3b29ffeabce403a08033bf86517af956a278af22 /appinfo | |
parent | f4d26223b3d22ecf2435c67adccf05629102be7f (diff) |
Adjust approach for search results for listable rooms
Added "/listable-room" endpoint for listing listable rooms with a similar
result format like the "/room" endpoint.
Switched left sidebar to use Conversation components for displaying
results.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index f702840f1..1c6aed1ad 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -184,6 +184,14 @@ return [ ], ], [ + 'name' => 'Room#getListedRooms', + 'url' => '/api/{apiVersion}/listed-room', + 'verb' => 'GET', + 'requirements' => [ + 'apiVersion' => 'v3', + ], + ], + [ 'name' => 'Room#createRoom', 'url' => '/api/{apiVersion}/room', 'verb' => 'POST', |