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:
authorMario Danic <mario@lovelyhq.com>2018-07-06 23:50:57 +0300
committerJoas Schilling <coding@schilljs.com>2018-07-13 16:44:13 +0300
commit62b11f9a9f061a164b085e05aaf5ab98f212c057 (patch)
tree124bfe19913404d133e2b719d147f9aa7c0635b8 /appinfo/routes.php
parentb061503d2c79ffb3fbf91477adc4cea3cca8eba7 (diff)
Add support for backend favorites
Signed-off-by: Mario Danic <mario@lovelyhq.com>
Diffstat (limited to 'appinfo/routes.php')
-rw-r--r--appinfo/routes.php19
1 files changed, 19 insertions, 0 deletions
diff --git a/appinfo/routes.php b/appinfo/routes.php
index df2e44067..242cabb32 100644
--- a/appinfo/routes.php
+++ b/appinfo/routes.php
@@ -289,6 +289,25 @@ return [
'token' => '^[a-z0-9]{4,30}$',
],
],
+ [
+ 'name' => 'Room#setRoomAsFavourite',
+ 'url' => '/api/{apiVersion}/room/{token}/favourite',
+ 'verb' => 'POST',
+ 'requirements' => [
+ 'apiVersion' => 'v1',
+ 'token' => '^[a-z0-9]{4,30}$',
+ ],
+ ],
+ [
+ 'name' => 'Room#setRoomAsNotFavourite',
+ 'url' => '/api/{apiVersion}/room/{token}/favourite',
+ 'verb' => 'DELETE',
+ 'requirements' => [
+ 'apiVersion' => 'v1',
+ 'token' => '^[a-z0-9]{4,30}$',
+ ],
+ ],
+
/**
* Guest