diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2021-02-03 18:17:16 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-02-03 18:17:16 +0300 |
commit | f6008b9e4d25dbd5c9d18331df733f1d8dec9cf6 (patch) | |
tree | 4beab925c833faf07bc1115f35a70bc096255868 /appinfo | |
parent | 96f7529e466c7d696696c1b7285a2a829fc20698 (diff) | |
parent | aebc61cde02a6fc2938db4f3d06ff945d46ea08e (diff) |
Merge pull request #5034 from nextcloud/feature/noid/allow-sharing-rich-objects-to-chats
Allow to share RichObjects to chats
Diffstat (limited to 'appinfo')
-rw-r--r-- | appinfo/routes.php | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php index db32cbd72..87e15f034 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -181,6 +181,15 @@ return [ 'token' => '^[a-z0-9]{4,30}$', ], ], + [ + 'name' => 'Chat#shareObjectToChat', + 'url' => '/api/{apiVersion}/chat/{token}/share', + 'verb' => 'POST', + 'requirements' => [ + 'apiVersion' => 'v1', + 'token' => '^[a-z0-9]{4,30}$', + ], + ], /** * Conversation (Room) |