diff options
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php index 98454946d45..b4868c14cf3 100644 --- a/core/routes.php +++ b/core/routes.php @@ -53,6 +53,10 @@ $application->registerRoutes($this, [ ['name' => 'TwoFactorChallenge#showChallenge', 'url' => '/login/challenge/{challengeProviderId}', 'verb' => 'GET'], ['name' => 'TwoFactorChallenge#solveChallenge', 'url' => '/login/challenge/{challengeProviderId}', 'verb' => 'POST'], ], + 'ocs' => [ + ['root' => '/cloud', 'name' => 'OCS#getCapabilities', 'url' => '/capabilities', 'verb' => 'GET'], + ['root' => '/cloud', 'name' => 'OCS#getCurrentUser', 'url' => '/user', 'verb' => 'GET'], + ], ]); // Post installation check |