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
path: root/docs
diff options
context:
space:
mode:
authorJoas Schilling <coding@schilljs.com>2022-09-20 17:00:38 +0300
committerJoas Schilling <coding@schilljs.com>2022-09-20 17:00:38 +0300
commit5acc1857c28f4e55b29adbb25ba846164c912de3 (patch)
treee088e26e93e35f6bea2e06ba617f9e904549b3e3 /docs
parent4577103a0de862885d15daa16afe177393c670fa (diff)
Restrict polls from one-to-one chatsbugfix/7934/restrict-polls-from-one-to-one-chats
Signed-off-by: Joas Schilling <coding@schilljs.com>
Diffstat (limited to 'docs')
-rw-r--r--docs/poll.md1
1 files changed, 1 insertions, 0 deletions
diff --git a/docs/poll.md b/docs/poll.md
index 758377b0f..8d41e105f 100644
--- a/docs/poll.md
+++ b/docs/poll.md
@@ -18,6 +18,7 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1`
* Response:
- Status code:
+ `201 Created`
+ + `400 Bad Request` When the room is a one-to-one conversation
+ `400 Bad Request` When the question or the options were too long or invalid (not strings)
+ `403 Forbidden` When the conversation is read-only
+ `403 Forbidden` When the actor does not have chat permissions