mirror of
https://github.com/nextcloud/recognize.git
synced 2025-08-16 17:09:54 +00:00
34 lines
1.1 KiB
PHP
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'],
|
|
],
|
|
];
|