Browse Source
Fix route definitions of cloud_federation_api
Signed-off-by: Joas Schilling <coding@schilljs.com>
pull/20114/head
Joas Schilling
6 years ago
committed by
Roeland Jago Douma
No known key found for this signature in database
GPG Key ID: F941078878347C0C
1 changed files with
13 additions and
11 deletions
-
apps/cloud_federation_api/appinfo/routes.php
|
|
|
@ -22,16 +22,18 @@ declare(strict_types=1); |
|
|
|
*/ |
|
|
|
|
|
|
|
return [ |
|
|
|
[ |
|
|
|
'name' => 'RequestHandler#addShare', |
|
|
|
'url' => '/ocm/shares', |
|
|
|
'verb' => 'POST', |
|
|
|
'root' => '', |
|
|
|
], |
|
|
|
[ |
|
|
|
'name' => 'RequestHandler#receiveNotification', |
|
|
|
'url' => '/ocm/notifications', |
|
|
|
'verb' => 'POST', |
|
|
|
'root' => '', |
|
|
|
'routes' => [ |
|
|
|
[ |
|
|
|
'name' => 'RequestHandler#addShare', |
|
|
|
'url' => '/ocm/shares', |
|
|
|
'verb' => 'POST', |
|
|
|
'root' => '', |
|
|
|
], |
|
|
|
[ |
|
|
|
'name' => 'RequestHandler#receiveNotification', |
|
|
|
'url' => '/ocm/notifications', |
|
|
|
'verb' => 'POST', |
|
|
|
'root' => '', |
|
|
|
], |
|
|
|
], |
|
|
|
]; |