diff options
Diffstat (limited to 'apps/files/appinfo')
-rw-r--r-- | apps/files/appinfo/info.xml | 4 | ||||
-rw-r--r-- | apps/files/appinfo/routes.php | 17 |
2 files changed, 20 insertions, 1 deletions
diff --git a/apps/files/appinfo/info.xml b/apps/files/appinfo/info.xml index 67c589ed755..20f77774ae6 100644 --- a/apps/files/appinfo/info.xml +++ b/apps/files/appinfo/info.xml @@ -65,4 +65,8 @@ </navigation> </navigations> + <settings> + <personal>OCA\Files\Settings\PersonalSettings</personal> + </settings> + </info> diff --git a/apps/files/appinfo/routes.php b/apps/files/appinfo/routes.php index 9d889fe0e69..e235db76070 100644 --- a/apps/files/appinfo/routes.php +++ b/apps/files/appinfo/routes.php @@ -119,7 +119,22 @@ $application->registerRoutes( 'url' => '/api/v1/directEditing/create', 'verb' => 'POST' ], - ] + [ + 'name' => 'TransferOwnership#transfer', + 'url' => '/api/v1/transferownership', + 'verb' => 'POST', + ], + [ + 'name' => 'TransferOwnership#accept', + 'url' => '/api/v1/transferownership/{id}', + 'verb' => 'POST', + ], + [ + 'name' => 'TransferOwnership#reject', + 'url' => '/api/v1/transferownership/{id}', + 'verb' => 'DELETE', + ], + ], ] ); |