diff options
author | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-10-05 21:41:47 +0300 |
---|---|---|
committer | Daniel Calviño Sánchez <danxuliu@gmail.com> | 2018-11-29 20:35:21 +0300 |
commit | 19e166191ba58a6d0919f81ef491eecc867458f8 (patch) | |
tree | e1594a95cf042260dc76cba24d940e8606874a01 /appinfo/routes.php | |
parent | be97a530e1f59ba371006c62c71d04b7cedd0b47 (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/routes.php')
-rw-r--r-- | appinfo/routes.php | 13 |
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 */ [ |