diff options
author | Bjoern Schiessle <schiessle@owncloud.com> | 2013-09-06 16:00:01 +0200 |
---|---|---|
committer | Bjoern Schiessle <schiessle@owncloud.com> | 2013-09-06 16:00:01 +0200 |
commit | 3861c9bce185e0f38b4941afd752c9da73985570 (patch) | |
tree | 6f9d38a1b6cf5830b0f17247e45742c967cec856 /apps/files_sharing/appinfo | |
parent | b6ee727399c3d0eced5b2ee2bce9f17a813a1bb2 (diff) | |
download | nextcloud-server-3861c9bce185e0f38b4941afd752c9da73985570.tar.gz nextcloud-server-3861c9bce185e0f38b4941afd752c9da73985570.zip |
some more OCS calls for sharing
Diffstat (limited to 'apps/files_sharing/appinfo')
-rw-r--r-- | apps/files_sharing/appinfo/routes.php | 9 |
1 files changed, 8 insertions, 1 deletions
diff --git a/apps/files_sharing/appinfo/routes.php b/apps/files_sharing/appinfo/routes.php index 1c7f5b4a1fc..3f80614cc0c 100644 --- a/apps/files_sharing/appinfo/routes.php +++ b/apps/files_sharing/appinfo/routes.php @@ -5,7 +5,6 @@ function() { }); //TODO: SET: unshare -//TODO: SET: permissions //TODO: SET: expire date //TODO: SET: mail notification //TODO: SET: can upload @@ -34,6 +33,14 @@ OC_API::register('post', array('path' => ''), array('path' => '.+')); +OC_API::register('post', + '/apps/files_sharing/api/expire/{path}', + array('\OCA\Files\Share\Api', 'setExpire'), + 'files_sharing', + OC_API::USER_AUTH, + array('path' => ''), + array('path' => '.+')); + /* OC_API::register('get', '/apps/files_sharing/api/permission/{path}', |