diff options
author | John Molakvoæ <skjnldsv@protonmail.com> | 2023-04-14 12:40:08 +0200 |
---|---|---|
committer | John Molakvoæ <skjnldsv@protonmail.com> | 2023-04-18 09:02:01 +0200 |
commit | d7ab8da1ef7decb512d68b038fc7e92758fbb518 (patch) | |
tree | 302b14a5a8a5c3b07cabc3595caba53500eca238 /apps/files/appinfo | |
parent | ff58cd52279cccfbda0cc4683f1194d6c7ee283b (diff) | |
download | nextcloud-server-d7ab8da1ef7decb512d68b038fc7e92758fbb518.tar.gz nextcloud-server-d7ab8da1ef7decb512d68b038fc7e92758fbb518.zip |
feat(files): add view config service to store user-config per view
Signed-off-by: John Molakvoæ <skjnldsv@protonmail.com>
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r-- | apps/files/appinfo/routes.php | 27 |
1 files changed, 16 insertions, 11 deletions
diff --git a/apps/files/appinfo/routes.php b/apps/files/appinfo/routes.php index a82490f7cae..ce52a11a003 100644 --- a/apps/files/appinfo/routes.php +++ b/apps/files/appinfo/routes.php @@ -84,9 +84,24 @@ $application->registerRoutes( 'verb' => 'GET' ], [ + 'name' => 'API#setViewConfig', + 'url' => '/api/v1/views/{view}/{key}', + 'verb' => 'PUT' + ], + [ + 'name' => 'API#getViewConfigs', + 'url' => '/api/v1/views', + 'verb' => 'GET' + ], + [ + 'name' => 'API#getViewConfig', + 'url' => '/api/v1/views/{view}', + 'verb' => 'GET' + ], + [ 'name' => 'API#setConfig', 'url' => '/api/v1/config/{key}', - 'verb' => 'POST' + 'verb' => 'PUT' ], [ 'name' => 'API#getConfigs', @@ -94,11 +109,6 @@ $application->registerRoutes( 'verb' => 'GET' ], [ - 'name' => 'API#updateFileSorting', - 'url' => '/api/v1/sorting', - 'verb' => 'POST' - ], - [ 'name' => 'API#showHiddenFiles', 'url' => '/api/v1/showhidden', 'verb' => 'POST' @@ -119,11 +129,6 @@ $application->registerRoutes( 'verb' => 'GET' ], [ - 'name' => 'API#toggleShowFolder', - 'url' => '/api/v1/toggleShowFolder/{key}', - 'verb' => 'POST' - ], - [ 'name' => 'API#getNodeType', 'url' => '/api/v1/quickaccess/get/NodeType', 'verb' => 'GET', |