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:
authorJoas Schilling <coding@schilljs.com>2021-03-22 14:27:12 +0300
committerJoas Schilling <coding@schilljs.com>2021-03-23 10:58:20 +0300
commit5adb06183836b665d56cc6804a2e4a3d6b10955f (patch)
tree49870824dc5761d7019245ac436b8606d4e01930 /appinfo
parent419fb161b8352a26b2502134a286c0dfb5b3d32f (diff)
Temporary OCS API for user avatar upload and delete
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'appinfo')
-rw-r--r--appinfo/routes.php12
1 files changed, 12 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index a2e125273..920a91fb5 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -600,5 +600,17 @@ return [
'apiVersion' => 'v1',
],
],
+
+
+ [
+ 'name' => 'TempAvatar#postAvatar',
+ 'url' => '/temp-user-avatar',
+ 'verb' => 'POST',
+ ],
+ [
+ 'name' => 'TempAvatar#deleteAvatar',
+ 'url' => '/temp-user-avatar',
+ 'verb' => 'DELETE',
+ ],
],
];