diff options
author | Vincent Petry <vincent@nextcloud.com> | 2020-12-01 11:56:54 +0100 |
---|---|---|
committer | Vincent Petry <vincent@nextcloud.com> | 2020-12-11 18:15:47 +0100 |
commit | 17971cd34a6ecb0cdf4e926e41414f13a2bd4c41 (patch) | |
tree | abb522f422fd26ff1654eabdaacfe54ed5d09a94 /appinfo/routes.php | |
parent | be0ed4a7f5f3b7eaa8acef96258862929dfd729f (diff) |
Add listable flags attribute for conversations
Added ability to set a conversation as listable for regular users and/or
guest users from the guest app.
This only implements the flag, endpoint and UI to manage it but not yet
making it appear in search results.
Signed-off-by: Vincent Petry <vincent@nextcloud.com>
Diffstat (limited to 'appinfo/routes.php')
-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 1148c4db9..f702840f1 100644 --- a/appinfo/routes.php +++ b/appinfo/routes.php @@ -255,6 +255,15 @@ return [ ], ], [ + 'name' => 'Room#setListable', + 'url' => '/api/{apiVersion}/room/{token}/listable', + 'verb' => 'PUT', + 'requirements' => [ + 'apiVersion' => 'v3', + 'token' => '^[a-z0-9]{4,30}$', + ], + ], + [ 'name' => 'Room#setPassword', 'url' => '/api/{apiVersion}/room/{token}/password', 'verb' => 'PUT', |