Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nextcloud/spreed.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Calviño Sánchez <danxuliu@gmail.com>2018-10-05 21:41:47 +0300
committerDaniel Calviño Sánchez <danxuliu@gmail.com>2018-11-29 20:35:21 +0300
commit19e166191ba58a6d0919f81ef491eecc867458f8 (patch)
treee1594a95cf042260dc76cba24d940e8606874a01 /appinfo
parentbe97a530e1f59ba371006c62c71d04b7cedd0b47 (diff)
Add end point to get the token of a room associated with a file
Signed-off-by: Daniel Calviño Sánchez <danxuliu@gmail.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php13
1 files changed, 13 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 884e86b9f..b5804d711 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -320,6 +320,19 @@ return [
],
/**
+ * Files
+ */
+ [
+ 'name' => 'Files#getRoom',
+ 'url' => '/api/{apiVersion}/file/{fileId}',
+ 'verb' => 'GET',
+ 'requirements' => [
+ 'apiVersion' => 'v1',
+ 'fileId' => '.+'
+ ],
+ ],
+
+ /**
* Guest
*/
[