diff options
author | Joas Schilling <213943+nickvergessen@users.noreply.github.com> | 2021-06-07 16:04:48 +0300 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-06-07 16:04:48 +0300 |
commit | 554cb76e2130f268d5f434946228f027270a7142 (patch) | |
tree | 3a0c69ddcee54ea0b4f09713636f4054d4837cb5 /docs | |
parent | b947c078609427012a9d0770f35d018b29c87654 (diff) | |
parent | 7936dab5cc0063efe00cdf06d4b6a9d25f025b93 (diff) |
Merge pull request #5700 from nextcloud/fix-call-flags-updates
Fix call flags updates
Diffstat (limited to 'docs')
-rw-r--r-- | docs/call.md | 20 |
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` |