mirror of
https://github.com/nextcloud/server.git
synced 2025-01-30 22:37:01 +00:00
cc1686dba9
Signed-off-by: Andy Scherzinger <info@andy-scherzinger.de>
20 lines
774 B
PHP
20 lines
774 B
PHP
<?php
|
|
|
|
declare(strict_types=1);
|
|
|
|
/**
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
|
*/
|
|
return [
|
|
'routes' => [
|
|
['name' => 'Admin#createCredentials', 'url' => '/credentials', 'verb' => 'GET'],
|
|
['name' => 'Admin#setChannel', 'url' => '/channel', 'verb' => 'POST'],
|
|
// Fallback app changelog information for mobile clients
|
|
['name' => 'Changelog#showChangelog', 'url' => '/changelog/{app}', 'verb' => 'GET'],
|
|
],
|
|
'ocs' => [
|
|
['name' => 'API#getAppList', 'url' => '/api/{apiVersion}/applist/{newVersion}', 'verb' => 'GET', 'requirements' => ['apiVersion' => '(v1)']],
|
|
['name' => 'API#getAppChangelogEntry', 'url' => '/api/{apiVersion}/changelog/{appId}', 'verb' => 'GET', 'requirements' => ['apiVersion' => '(v1)']],
|
|
],
|
|
];
|