summaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo
diff options
context:
space:
mode:
authorRobin Appelman <robin@icewind.nl>2016-07-22 14:48:51 +0200
committerRobin Appelman <robin@icewind.nl>2016-07-22 14:48:51 +0200
commitb94ff97a77be3947e62373cd4c6b75d7dfe5e5cc (patch)
tree48f1a424553f66d4f736d83bf25c4f0b6ff07dfa /apps/files/appinfo
parente321ecd592fef123772c6e61e175b6a34a3c5044 (diff)
downloadnextcloud-server-b94ff97a77be3947e62373cd4c6b75d7dfe5e5cc.tar.gz
nextcloud-server-b94ff97a77be3947e62373cd4c6b75d7dfe5e5cc.zip
add recent files api endpoint
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r--apps/files/appinfo/routes.php5
1 files changed, 5 insertions, 0 deletions
diff --git a/apps/files/appinfo/routes.php b/apps/files/appinfo/routes.php
index 34bb1011773..7b5ac63a160 100644
--- a/apps/files/appinfo/routes.php
+++ b/apps/files/appinfo/routes.php
@@ -51,6 +51,11 @@ $application->registerRoutes(
'requirements' => array('tagName' => '.+'),
),
array(
+ 'name' => 'API#getRecentFiles',
+ 'url' => '/api/v1/recent/',
+ 'verb' => 'GET'
+ ),
+ array(
'name' => 'API#updateFileSorting',
'url' => '/api/v1/sorting',
'verb' => 'POST'