From c7a665a1e460811c76abe4bb69111c72812c4b79 Mon Sep 17 00:00:00 2001 From: Tom Needham Date: Fri, 14 Dec 2012 14:55:02 +0000 Subject: [PATCH] API: Tidy up routes.php, remove redundant call registration --- ocs/routes.php | 9 --------- 1 file changed, 9 deletions(-) diff --git a/ocs/routes.php b/ocs/routes.php index 033d9b79df2..d77b96fc145 100644 --- a/ocs/routes.php +++ b/ocs/routes.php @@ -11,19 +11,10 @@ OC_API::register('get', '/config', array('OC_OCS_Config', 'apiConfig'), 'ocs', O OC_API::register('post', '/person/check', array('OC_OCS_Person', 'check'), 'ocs', OC_API::GUEST_AUTH); // Activity OC_API::register('get', '/activity', array('OC_OCS_Activity', 'activityGet'), 'ocs', OC_API::USER_AUTH); - - -//activity put, keygetpublic, keygetprivate - - - // Privatedata OC_API::register('get', '/privatedata/getattribute', array('OC_OCS_Privatedata', 'get'), 'ocs', OC_API::USER_AUTH, array('app' => '', 'key' => '')); OC_API::register('get', '/privatedata/getattribute/{app}', array('OC_OCS_Privatedata', 'get'), 'ocs', OC_API::USER_AUTH, array('key' => '')); OC_API::register('get', '/privatedata/getattribute/{app}/{key}', array('OC_OCS_Privatedata', 'get'), 'ocs', OC_API::USER_AUTH); OC_API::register('post', '/privatedata/setattribute/{app}/{key}', array('OC_OCS_Privatedata', 'set'), 'ocs', OC_API::USER_AUTH); OC_API::register('post', '/privatedata/deleteattribute/{app}/{key}', array('OC_OCS_Privatedata', 'delete'), 'ocs', OC_API::USER_AUTH); -// Cloud -OC_API::register('get', '/cloud/system/webapps', array('OC_OCS_Cloud', 'getSystemWebApps'), 'ocs', OC_API::ADMIN_AUTH); - ?> -- 2.39.5