summaryrefslogtreecommitdiffstats
path: root/ocs
diff options
context:
space:
mode:
authorTom Needham <needham.thomas@gmail.com>2012-12-14 14:55:02 +0000
committerTom Needham <needham.thomas@gmail.com>2012-12-14 14:55:02 +0000
commitc7a665a1e460811c76abe4bb69111c72812c4b79 (patch)
tree429677ea7015956072614595809ab479ca1d4c9f /ocs
parent1475ff63ddeb56c277836092d2b02861cb47e4ee (diff)
downloadnextcloud-server-c7a665a1e460811c76abe4bb69111c72812c4b79.tar.gz
nextcloud-server-c7a665a1e460811c76abe4bb69111c72812c4b79.zip
API: Tidy up routes.php, remove redundant call registration
Diffstat (limited to 'ocs')
-rw-r--r--ocs/routes.php9
1 files changed, 0 insertions, 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);
-
?>