diff options
author | Tom Needham <needham.thomas@gmail.com> | 2012-12-12 18:06:07 +0000 |
---|---|---|
committer | Tom Needham <needham.thomas@gmail.com> | 2012-12-12 18:06:07 +0000 |
commit | 3cc34055368114d81e722adea03a2118e78d2aac (patch) | |
tree | 67c491904a4af641c9b89238cae76e3803a2bccd /ocs | |
parent | 2a4b554ca67ba55c75bbff75777285e550dca84f (diff) | |
download | nextcloud-server-3cc34055368114d81e722adea03a2118e78d2aac.tar.gz nextcloud-server-3cc34055368114d81e722adea03a2118e78d2aac.zip |
API: Remove old code. Move remaining methods to OC_OCS_Result.
Diffstat (limited to 'ocs')
-rw-r--r-- | ocs/routes.php | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/ocs/routes.php b/ocs/routes.php index 6b01abe31f2..033d9b79df2 100644 --- a/ocs/routes.php +++ b/ocs/routes.php @@ -10,7 +10,13 @@ OC_API::register('get', '/config', array('OC_OCS_Config', 'apiConfig'), 'ocs', O // Person 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); +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' => '')); |