You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
 
 
 
 
nextcloud-server/ocs-provider/index.php

22 lines
496 B

<?php
/**
* SPDX-FileCopyrightText: 2016 Nextcloud GmbH and Nextcloud contributors
* SPDX-FileCopyrightText: 2016 ownCloud, Inc.
* SPDX-License-Identifier: AGPL-3.0-only
*/
use OCP\App\IAppManager;
use OCP\IRequest;
use OCP\Server;
require_once __DIR__ . '/../lib/base.php';
header('Content-Type: application/json');
$controller = new \OC\OCS\Provider(
'ocs_provider',
Server::get(IRequest::class),
Server::get(IAppManager::class),
);
echo $controller->buildProviderList()->render();