diff options
author | Alessandro Cosentino <cosenal@gmail.com> | 2013-03-03 22:27:18 +0100 |
---|---|---|
committer | Alessandro Cosentino <cosenal@gmail.com> | 2013-03-03 22:27:18 +0100 |
commit | ef450898bb702877dafb755e425fe8f37b23417b (patch) | |
tree | 53162b432a7f5a6c9d99d9eb77aee30d670853ae /appinfo/routes.php | |
parent | 0852773340ed26ecc8faa8e61192f38132673bc6 (diff) |
create folder api call
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r-- | appinfo/routes.php | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index 66dedd7f0..0370ecb93 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -222,4 +222,7 @@ $this->create('news_ajax_importOPML', '/import')->action( */ \OCP\API::register( 'get', '/news/folders', array('OCA\News\API_Folder', 'getAll'), 'news', \OC_API::USER_AUTH +); +\OCP\API::register( + 'post', '/news/folders/create', array('OCA\News\API_Folder', 'create'), 'news', \OC_API::USER_AUTH );
\ No newline at end of file |