Files
nextcloud-recognize/appinfo/routes.php
Marcel Klehr 4ca153a370 First pass at implementing face clustering
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
2022-06-16 18:38:48 +02:00

34 lines
1.1 KiB
PHP

<?php
/**
* This file is licensed under the Affero General Public License version 3 or
* later. See the COPYING file.
*
* @author Stefan Klemm <mail@stefan-klemm.de>
* @copyright (c) 2014, Stefan Klemm
*/
namespace OCA\Recognize\AppInfo;
/**
* Create your routes in here. The name is the lowercase name of the controller
* without the controller part, the stuff after the hash is the method.
* e.g. page#index -> PageController->index()
*
* The controller class has to be registered in the application.php file since
* it's instantiated in there
*/
return [
'routes' => [
//internal ADMIN API
['name' => 'admin#reset', 'url' => '/admin/reset', 'verb' => 'GET'],
['name' => 'admin#count', 'url' => '/admin/count', 'verb' => 'GET'],
['name' => 'admin#count_missed', 'url' => '/admin/countMissed', 'verb' => 'GET'],
['name' => 'admin#avx', 'url' => '/admin/avx', 'verb' => 'GET'],
['name' => 'admin#platform', 'url' => '/admin/platform', 'verb' => 'GET'],
['name' => 'admin#musl', 'url' => '/admin/musl', 'verb' => 'GET'],
['name' => 'user#update_cluster', 'url' => '/user/cluster/{id}', 'verb' => 'POST'],
],
];