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 <213943+nickvergessen@users.noreply.github.com>2021-06-07 16:04:48 +0300
committerGitHub <noreply@github.com>2021-06-07 16:04:48 +0300
commit554cb76e2130f268d5f434946228f027270a7142 (patch)
tree3a0c69ddcee54ea0b4f09713636f4054d4837cb5 /docs
parentb947c078609427012a9d0770f35d018b29c87654 (diff)
parent7936dab5cc0063efe00cdf06d4b6a9d25f025b93 (diff)
Merge pull request #5700 from nextcloud/fix-call-flags-updates
Fix call flags updates
Diffstat (limited to 'docs')
-rw-r--r--docs/call.md20
1 files changed, 20 insertions, 0 deletions
diff --git a/docs/call.md b/docs/call.md
index fb44d17cc..fba81dfe8 100644
--- a/docs/call.md
+++ b/docs/call.md
@@ -47,6 +47,26 @@
+ `404 Not Found` When the user did not join the conversation before
+ `412 Precondition Failed` When the lobby is active and the user is not a moderator
+## Update call flags
+
+* Method: `PUT`
+* Endpoint: `/call/{token}`
+* Data:
+
+ field | type | Description
+ ---|---|---
+ `flags` | int | Flags what streams are provided by the participant (see [Constants - Participant in-call flag](constants.md#participant-in-call-flag))
+
+* Response:
+ - Status code:
+ + `200 OK`
+ + `400 Bad Request` When the user is not in the call
+ + `400 Bad Request` When the flags do not contain "in call"
+ + `403 Forbidden` When the conversation is read-only
+ + `404 Not Found` When the conversation could not be found for the participant
+ + `404 Not Found` When the user did not join the conversation before
+ + `412 Precondition Failed` When the lobby is active and the user is not a moderator
+
## Leave a call (but staying in the conversation for future calls and chat)
* Method: `DELETE`