summaryrefslogtreecommitdiffstats
path: root/apps/files/appinfo/routes.php
diff options
context:
space:
mode:
Diffstat (limited to 'apps/files/appinfo/routes.php')
-rw-r--r--apps/files/appinfo/routes.php41
1 files changed, 33 insertions, 8 deletions
diff --git a/apps/files/appinfo/routes.php b/apps/files/appinfo/routes.php
index ed2373149f2..ec8c3e03b7e 100644
--- a/apps/files/appinfo/routes.php
+++ b/apps/files/appinfo/routes.php
@@ -78,34 +78,59 @@ $application->registerRoutes(
],
[
'name' => 'API#showQuickAccess',
- 'url' => '/api/v1/showquickaccess',
+ 'url' => '/api/v1/quickaccess/set/showList',
'verb' => 'GET',
],
[
- 'name' => 'API#hideQuickAccess',
- 'url' => '/api/v1/hidequickaccess',
+ 'name' => 'API#getShowQuickAccess',
+ 'url' => '/api/v1/quickaccess/get/showList',
+ 'verb' => 'GET',
+ ],
+ [
+ 'name' => 'API#getShowQuickaccessSettings',
+ 'url' => '/api/v1/quickaccess/showsettings',
+ 'verb' => 'GET',
+ ],
+ [
+ 'name' => 'API#setShowQuickaccessSettings',
+ 'url' => '/api/v1/quickaccess/set/showsettings',
'verb' => 'GET',
],
[
'name' => 'API#setSortingStrategy',
- 'url' => '/api/v1/setsortingstrategy',
+ 'url' => '/api/v1/quickaccess/set/SortingStrategy',
'verb' => 'GET',
],
[
'name' => 'API#setReverseQuickaccess',
- 'url' => '/api/v1/setreversequickaccess',
+ 'url' => '/api/v1/quickaccess/set/ReverseList',
'verb' => 'GET',
],
[
'name' => 'API#getSortingStrategy',
- 'url' => '/api/v1/getsortingstrategy',
+ 'url' => '/api/v1/quickaccess/get/SortingStrategy',
'verb' => 'GET',
],
[
'name' => 'API#getReverseQuickaccess',
- 'url' => '/api/v1/getreversequickaccess',
+ 'url' => '/api/v1/quickaccess/get/ReverseList',
+ 'verb' => 'GET',
+ ],
+ [
+ 'name' => 'API#getFavoritesFolder',
+ 'url' => '/api/v1/quickaccess/get/FavoriteFolders/',
+ 'verb' => 'GET'
+ ],
+ [
+ 'name' => 'API#setSortingOrder',
+ 'url' => '/api/v1/quickaccess/set/CustomSortingOrder',
'verb' => 'GET',
- ]
+ ],
+ [
+ 'name' => 'API#getSortingOrder',
+ 'url' => '/api/v1/quickaccess/get/CustomSortingOrder',
+ 'verb' => 'GET',
+ ],
]
]
);