From fe9c46e595cba2d8e52db13cf15848a1f9d6f141 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Wed, 2 Dec 2020 14:11:47 +0100 Subject: Add an endpoint to search for accounts based on phone number Signed-off-by: Joas Schilling --- 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 fd1579ca843..912dd82e853 100644 --- a/apps/provisioning_api/appinfo/routes.php +++ b/apps/provisioning_api/appinfo/routes.php @@ -48,6 +48,7 @@ return [ // Users ['root' => '/cloud', 'name' => 'Users#getUsers', 'url' => '/users', 'verb' => 'GET'], ['root' => '/cloud', 'name' => 'Users#getUsersDetails', 'url' => '/users/details', 'verb' => 'GET'], + ['root' => '/cloud', 'name' => 'Users#searchByPhoneNumbers', 'url' => '/users/search/by-phone', 'verb' => 'POST'], ['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'], -- cgit v1.2.3