From 4488e846a526ed8de37e9756621b7c008d7a9466 Mon Sep 17 00:00:00 2001 From: Christoph Wurst Date: Mon, 11 May 2020 10:35:54 +0200 Subject: Add unified search API Signed-off-by: Christoph Wurst --- core/routes.php | 2 ++ 1 file changed, 2 insertions(+) (limited to 'core/routes.php') 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'], -- cgit v1.2.3