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 <213943+nickvergessen@users.noreply.github.com>2021-02-03 18:17:16 +0300
committerGitHub <noreply@github.com>2021-02-03 18:17:16 +0300
commitf6008b9e4d25dbd5c9d18331df733f1d8dec9cf6 (patch)
tree4beab925c833faf07bc1115f35a70bc096255868 /appinfo
parent96f7529e466c7d696696c1b7285a2a829fc20698 (diff)
parentaebc61cde02a6fc2938db4f3d06ff945d46ea08e (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.php9
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)