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

github.com/nextcloud/richdocuments.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoeland Jago Douma <roeland@famdouma.nl>2018-07-23 17:08:47 +0300
committerRoeland Jago Douma <roeland@famdouma.nl>2018-08-07 11:48:55 +0300
commitc0f7a6567bdddbfb27be3a30696aadb3e3867c11 (patch)
treee1b30c124921772f009898d3c4099ad9c3afbc73 /appinfo
parent714ca8785cdc4672a7eec386b797da303cde9c1b (diff)
First start of assets endpoint
Signed-off-by: Roeland Jago Douma <roeland@famdouma.nl>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php4
1 files changed, 4 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index 5b110188..ba2f0601 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -33,6 +33,10 @@ return [
//Mobile access
['name' => 'directView#show', 'url' => '/direct/{token}', 'verb' => 'GET'],
+
+ //assets
+ ['name' => 'assets#create', 'url' => 'assets', 'verb' => 'POST'],
+ ['name' => 'assets#get', 'url' => 'assets/{token}', 'verb' => 'GET'],
],
'ocs' => [
['name' => 'OCS#create', 'url' => '/api/v1/document', 'verb' => 'POST'],