From 70b19761aaef961efe90ef509fb0501afc6b538d Mon Sep 17 00:00:00 2001 From: Roeland Jago Douma Date: Mon, 22 Jan 2018 21:47:25 +0100 Subject: Provide list of editable fields via OCS API Fixes #7983 Signed-off-by: Roeland Jago Douma --- apps/provisioning_api/appinfo/routes.php | 1 + 1 file changed, 1 insertion(+) (limited to 'apps/provisioning_api/appinfo/routes.php') diff --git a/apps/provisioning_api/appinfo/routes.php b/apps/provisioning_api/appinfo/routes.php index c4932ebb28b..ea1a073f5e8 100644 --- a/apps/provisioning_api/appinfo/routes.php +++ b/apps/provisioning_api/appinfo/routes.php @@ -44,6 +44,7 @@ return [ ['root' => '/cloud', 'name' => 'Users#addUser', 'url' => '/users', 'verb' => 'POST'], ['root' => '/cloud', 'name' => 'Users#getUser', 'url' => '/users/{userId}', 'verb' => 'GET'], ['root' => '/cloud', 'name' => 'Users#getCurrentUser', 'url' => '/user', 'verb' => 'GET'], + ['root' => '/cloud', 'name' => 'Users#getEditableField', 'url' => '/user/fields', 'verb' => 'GET'], ['root' => '/cloud', 'name' => 'Users#editUser', 'url' => '/users/{userId}', 'verb' => 'PUT'], ['root' => '/cloud', 'name' => 'Users#deleteUser', 'url' => '/users/{userId}', 'verb' => 'DELETE'], ['root' => '/cloud', 'name' => 'Users#enableUser', 'url' => '/users/{userId}/enable', 'verb' => 'PUT'], -- cgit v1.2.3