diff options
author | Joas Schilling <coding@schilljs.com> | 2021-03-22 14:27:12 +0300 |
---|---|---|
committer | Joas Schilling <coding@schilljs.com> | 2021-03-23 10:58:20 +0300 |
commit | 5adb06183836b665d56cc6804a2e4a3d6b10955f (patch) | |
tree | 49870824dc5761d7019245ac436b8606d4e01930 /appinfo | |
parent | 419fb161b8352a26b2502134a286c0dfb5b3d32f (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.php | 12 |
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', + ], ], ]; |