2018-06-13 14:16:49 +03:00
|
|
|
<?php
|
|
|
|
/**
|
|
|
|
* @copyright Copyright (c) 2018 John Molakvoæ <skjnldsv@protonmail.com>
|
|
|
|
*
|
2019-12-03 21:57:53 +03:00
|
|
|
* @author Alexey Pyltsyn <lex61rus@gmail.com>
|
|
|
|
* @author John Molakvoæ (skjnldsv) <skjnldsv@protonmail.com>
|
|
|
|
* @author Julius Härtl <jus@bitgrid.net>
|
2018-06-13 14:16:49 +03:00
|
|
|
*
|
|
|
|
* @license GNU AGPL version 3 or any later version
|
|
|
|
*
|
|
|
|
* This program is free software: you can redistribute it and/or modify
|
|
|
|
* it under the terms of the GNU Affero General Public License as
|
|
|
|
* published by the Free Software Foundation, either version 3 of the
|
|
|
|
* License, or (at your option) any later version.
|
|
|
|
*
|
|
|
|
* This program is distributed in the hope that it will be useful,
|
|
|
|
* but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
|
|
* MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
|
|
* GNU Affero General Public License for more details.
|
|
|
|
*
|
|
|
|
* You should have received a copy of the GNU Affero General Public License
|
|
|
|
* along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
*
|
|
|
|
*/
|
|
|
|
|
|
|
|
return [
|
2018-10-16 21:42:06 +03:00
|
|
|
'routes' => [
|
2019-01-24 11:57:36 +03:00
|
|
|
['name' => 'accessibility#getCss', 'url' => '/css/user-{md5}', 'verb' => 'GET'],
|
2018-10-16 21:42:06 +03:00
|
|
|
['name' => 'accessibility#getJavascript', 'url' => '/js/accessibility', 'verb' => 'GET'],
|
2020-04-09 10:22:29 +03:00
|
|
|
],
|
|
|
|
'ocs' => [
|
2018-06-21 09:27:38 +03:00
|
|
|
[
|
|
|
|
'name' => 'Config#getConfig',
|
|
|
|
'url' => '/api/v1/config',
|
|
|
|
'verb' => 'GET',
|
2020-04-09 10:22:29 +03:00
|
|
|
],
|
2018-06-21 09:27:38 +03:00
|
|
|
[
|
|
|
|
'name' => 'Config#setConfig',
|
|
|
|
'url' => '/api/v1/config/{key}',
|
2019-11-19 00:13:38 +03:00
|
|
|
'verb' => 'PUT',
|
|
|
|
],
|
|
|
|
[
|
|
|
|
'name' => 'Config#deleteConfig',
|
|
|
|
'url' => '/api/v1/config/{key}',
|
|
|
|
'verb' => 'DELETE',
|
2018-06-21 09:27:38 +03:00
|
|
|
],
|
2020-04-09 10:22:29 +03:00
|
|
|
]
|
2018-06-13 14:16:49 +03:00
|
|
|
];
|