2015-06-27 16:23:49 +00:00
|
|
|
<?php
|
|
|
|
/**
|
2024-05-10 13:09:14 +00:00
|
|
|
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
|
|
|
|
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
|
|
|
|
* SPDX-License-Identifier: AGPL-3.0-only
|
2015-06-27 16:23:49 +00:00
|
|
|
*/
|
|
|
|
|
2016-10-06 10:13:02 +00:00
|
|
|
require_once __DIR__ . '/../lib/base.php';
|
2015-06-27 16:23:49 +00:00
|
|
|
|
|
|
|
header('Content-Type: application/json');
|
|
|
|
|
|
|
|
$server = \OC::$server;
|
|
|
|
|
2016-05-19 09:09:38 +00:00
|
|
|
$controller = new \OC\OCS\Provider(
|
2015-06-27 16:23:49 +00:00
|
|
|
'ocs_provider',
|
|
|
|
$server->getRequest(),
|
|
|
|
$server->getAppManager()
|
|
|
|
);
|
|
|
|
echo $controller->buildProviderList()->render();
|