summaryrefslogtreecommitdiffstats
path: root/core/routes.php
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2018-10-18 13:00:25 +0200
committerJulius Härtl <jus@bitgrid.net>2019-03-01 20:56:15 +0100
commit5dfc56e925309d637be6f5a69cc16d0baaf20d03 (patch)
tree6bcee736d8e9369a2c519103bb0c005ca82e3e40 /core/routes.php
parent136d2c39ac72f837a3ea9a3f698be963fefb69a3 (diff)
downloadnextcloud-server-5dfc56e925309d637be6f5a69cc16d0baaf20d03.tar.gz
nextcloud-server-5dfc56e925309d637be6f5a69cc16d0baaf20d03.zip
Allow to create collections
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'core/routes.php')
-rw-r--r--core/routes.php1
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'],
],
]);