summaryrefslogtreecommitdiffstats
path: root/apps/user_ldap/appinfo/routes.php
diff options
context:
space:
mode:
authorArthur Schiwon <blizzz@arthur-schiwon.de>2017-01-19 11:09:04 +0100
committerArthur Schiwon <blizzz@arthur-schiwon.de>2017-01-19 11:09:04 +0100
commit01d469dfea5c3a3db4ddd449b322f3f9f5ae98b9 (patch)
tree6159aedc9f7feba01dd3d503ff61605ee2a83708 /apps/user_ldap/appinfo/routes.php
parent18a75bec0d87b847790e0c5b695e3d02993ca710 (diff)
downloadnextcloud-server-01d469dfea5c3a3db4ddd449b322f3f9f5ae98b9.tar.gz
nextcloud-server-01d469dfea5c3a3db4ddd449b322f3f9f5ae98b9.zip
add LDAP OCS Api for modifying a configuration
Signed-off-by: Arthur Schiwon <blizzz@arthur-schiwon.de>
Diffstat (limited to 'apps/user_ldap/appinfo/routes.php')
-rw-r--r--apps/user_ldap/appinfo/routes.php1
1 files changed, 1 insertions, 0 deletions
diff --git a/apps/user_ldap/appinfo/routes.php b/apps/user_ldap/appinfo/routes.php
index c80d6af76eb..f08ec195add 100644
--- a/apps/user_ldap/appinfo/routes.php
+++ b/apps/user_ldap/appinfo/routes.php
@@ -41,6 +41,7 @@ $application = new \OCP\AppFramework\App('user_ldap');
$application->registerRoutes($this, [
'ocs' => [
['name' => 'ConfigAPI#create', 'url' => '/api/v1/config', 'verb' => 'POST'],
+ ['name' => 'ConfigAPI#modify', 'url' => '/api/v1/config/{configID}', 'verb' => 'PUT'],
['name' => 'ConfigAPI#delete', 'url' => '/api/v1/config/{configID}', 'verb' => 'DELETE'],
]
]);