From 5da475f4c060e85266b5a113f50cc207e57a53c2 Mon Sep 17 00:00:00 2001 From: Joas Schilling Date: Fri, 13 Sep 2019 18:51:33 +0200 Subject: Populate the canStartCall value and add a capability Signed-off-by: Joas Schilling --- docs/capabilities.md | 1 + docs/conversation.md | 1 + 2 files changed, 2 insertions(+) (limited to 'docs') diff --git a/docs/capabilities.md b/docs/capabilities.md index 7f3fa080e..4c253fcea 100644 --- a/docs/capabilities.md +++ b/docs/capabilities.md @@ -36,3 +36,4 @@ title: Capabilities ## 7.0 * `chat-read-marker` - The chat can be optionally marked read by clients manually, independent from the loading of the chat messages. * `webinary-lobby` - See [Webinary management](webinary.md) for technical details. +* `start-call-flag` - Only moderators or users might be able to start calls. diff --git a/docs/conversation.md b/docs/conversation.md index c9c18ab8b..cee3b2f46 100644 --- a/docs/conversation.md +++ b/docs/conversation.md @@ -59,6 +59,7 @@ Base endpoint is: `/ocs/v2.php/apps/spreed/api/v1` `sessionId` | string | `'0'` if not connected, otherwise a 512 character long string `hasPassword` | bool | Flag if the conversation has a password `hasCall` | bool | Flag if the conversation has an active call + `canStartCall` | bool | Flag if the user can start a new call in this conversation (joining is always possible) (only available with `start-call-flag` capability) `lastActivity` | int | Timestamp of the last activity in the conversation, in seconds and UTC time zone `isFavorite` | bool | Flag if the conversation is favorited by the user `notificationLevel` | int | The notification level for the user (one of `Participant::NOTIFY_*` (1-3)) -- cgit v1.2.3