summaryrefslogtreecommitdiffstats
path: root/appinfo
diff options
context:
space:
mode:
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/api.php8
1 files changed, 8 insertions, 0 deletions
diff --git a/appinfo/api.php b/appinfo/api.php
index a2adcf373..e54493e5f 100644
--- a/appinfo/api.php
+++ b/appinfo/api.php
@@ -183,4 +183,12 @@ use \OCA\AppFramework\External\External;
},
'news',
\OC_API::USER_AUTH
+);
+
+\OCP\API::register('put', '/apps/news/items/read/multiple',
+ function($params) {
+ return External::main('ItemAPI', 'readMultiple', $params, new DIContainer());
+ },
+ 'news',
+ \OC_API::USER_AUTH
); \ No newline at end of file