diff options
author | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-05-11 10:35:54 +0200 |
---|---|---|
committer | Christoph Wurst <christoph@winzerhof-wurst.at> | 2020-06-24 14:20:25 +0200 |
commit | 4488e846a526ed8de37e9756621b7c008d7a9466 (patch) | |
tree | 2e2a9bfe4b2c5fcfb82fc1bcd9ab23693b58fe08 /core/routes.php | |
parent | 50b1568d48efddc315e503c6a2c3ffe485db7658 (diff) | |
download | nextcloud-server-4488e846a526ed8de37e9756621b7c008d7a9466.tar.gz nextcloud-server-4488e846a526ed8de37e9756621b7c008d7a9466.zip |
Add unified search API
Signed-off-by: Christoph Wurst <christoph@winzerhof-wurst.at>
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php index 3d30b12e392..5bb58f63e45 100644 --- a/core/routes.php +++ b/core/routes.php @@ -77,6 +77,8 @@ $application->registerRoutes($this, [ ['name' => 'RecommendedApps#index', 'url' => '/core/apps/recommended', 'verb' => 'GET'], ['name' => 'Svg#getSvgFromCore', 'url' => '/svg/core/{folder}/{fileName}', 'verb' => 'GET'], ['name' => 'Svg#getSvgFromApp', 'url' => '/svg/{app}/{fileName}', 'verb' => 'GET'], + ['name' => 'UnifiedSearch#getProviders', 'url' => '/search/providers', 'verb' => 'GET'], + ['name' => 'UnifiedSearch#search', 'url' => '/search/providers/{providerId}/search', 'verb' => 'GET'], ['name' => 'Css#getCss', 'url' => '/css/{appName}/{fileName}', 'verb' => 'GET'], ['name' => 'Js#getJs', 'url' => '/js/{appName}/{fileName}', 'verb' => 'GET'], ['name' => 'contactsMenu#index', 'url' => '/contactsmenu/contacts', 'verb' => 'POST'], |