summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/appinfo
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-01-18 21:13:23 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-01-18 21:13:23 +0100
commit689df9a843dd0505088143de039af775a3f92612 (patch)
tree717a7eb2baa8f4c7f8e6870d2753fe9f03d77929 /apps/user_ldap/appinfo
parent012708e1badebe5dab6260c2e9edb521d5dbfee0 (diff)
downloadnextcloud-server-689df9a843dd0505088143de039af775a3f92612.tar.gz
nextcloud-server-689df9a843dd0505088143de039af775a3f92612.zip
LDAP OCS Api for create config
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/appinfo')
-rw-r--r--apps/user_ldap/appinfo/routes.php7
1 files changed, 7 insertions, 0 deletions
diff --git a/apps/user_ldap/appinfo/routes.php b/apps/user_ldap/appinfo/routes.php
index c01a3c11472..e4e0db48d19 100644
--- a/apps/user_ldap/appinfo/routes.php
+++ b/apps/user_ldap/appinfo/routes.php
@@ -36,3 +36,10 @@ $this->create('user_ldap_ajax_testConfiguration', 'ajax/testConfiguration.php')
->actionInclude('user_ldap/ajax/testConfiguration.php');
$this->create('user_ldap_ajax_wizard', 'ajax/wizard.php')
->actionInclude('user_ldap/ajax/wizard.php');
+
+$application = new \OCP\AppFramework\App('user_ldap');
+$application->registerRoutes($this, [
+ 'ocs' => [
+ ['name' => 'ConfigAPI#create', 'url' => '/api/v1/config', 'verb' => 'POST'],
+ ]
+]);