diff options
author | Joas Schilling <coding@schilljs.com> | 2018-10-18 14:00:25 +0300 |
---|---|---|
committer | Julius Härtl <jus@bitgrid.net> | 2019-03-01 22:56:15 +0300 |
commit | 5dfc56e925309d637be6f5a69cc16d0baaf20d03 (patch) | |
tree | 6bcee736d8e9369a2c519103bb0c005ca82e3e40 /core/routes.php | |
parent | 136d2c39ac72f837a3ea9a3f698be963fefb69a3 (diff) |
Allow to create collections
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/routes.php')
-rw-r--r-- | core/routes.php | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/core/routes.php b/core/routes.php index 7fcd576d322..079f99d265f 100644 --- a/core/routes.php +++ b/core/routes.php @@ -95,6 +95,7 @@ $application->registerRoutes($this, [ ['root' => '/collaboration', 'name' => 'CollaborationResources#addResource', 'url' => '/resources/collections/{collectionId}', 'verb' => 'POST'], ['root' => '/collaboration', 'name' => 'CollaborationResources#removeResource', 'url' => '/resources/collections/{collectionId}', 'verb' => 'DELETE'], ['root' => '/collaboration', 'name' => 'CollaborationResources#getCollectionsByResource', 'url' => '/resources/{resourceType}/{resourceId}', 'verb' => 'GET'], + ['root' => '/collaboration', 'name' => 'CollaborationResources#createCollectionOnResource', 'url' => '/resources/{baseResourceType}/{baseResourceId}', 'verb' => 'POST'], ], ]); |