# Rooms: Nextcloud Nextcloud Rooms View
- Catalog: `Nextcloud`
- Schema: `Views`
- Label: Nextcloud Rooms View
This is a read-only view. The Nextcloud API may not support changing the data or the Invantive UniversalSQL driver for Nextcloud does not cover it. In the latter case, please use the table NativePlatformScalarRequests to upload data to the Nextcloud API.
## View Columns
The columns of the view `Rooms` are shown below. Each column has an SQL data type.
| Name | Data Type | Label | Required | Documentation |
|---|:---:|---|:---:|---|
| `actorId` | `varchar2` | | ☐ | The unique identifier for the given actor type |
| `actorType` | `varchar2` | | ☐ | Actor type of the current user (see [constants list](https://nextcloud-talk.readthedocs.io/en/latest/constants#attendee-types)) |
| `attendeeId` | `int64` | | ☐ | Unique attendee id |
| `attendeePermissions` | `int64` | | ☐ | Dedicated permissions for the current participant, if not `Custom` this are not the resulting permissions (see [constants list](https://nextcloud-talk.readthedocs.io/en/latest/constants#attendee-permissions)) |
| `attendeePin` | `varchar2` | | ☐ | Unique dial-in authentication code for this user, when the conversation has SIP enabled (see `sipEnabled` attribute) |
| `avatarVersion` | `varchar2` | | ☐ | Version of conversation avatar used to easier expiration of the avatar in case a moderator updates it, since the avatar endpoint should be cached for 24 hours. (only available with `avatar` capability) |
| `breakoutRoomMode` | `int64` | | ☐ | Breakout room configuration mode (see [constants list](https://nextcloud-talk.readthedocs.io/en/latest/constants#breakout-room-modes)) (only available with `breakout-rooms-v1` capability) |
| `breakoutRoomStatus` | `int64` | | ☐ | Breakout room status (see [constants list](https://nextcloud-talk.readthedocs.io/en/latest/constants#breakout-room-status)) (only available with `breakout-rooms-v1` capability) |
| `callFlag` | `int64` | | ☐ | Combined flag of all participants in the current call (see [constants list](https://nextcloud-talk.readthedocs.io/en/latest/constants#participant-in-call-flag), only available with `conversation-call-flags` capability) |
| `callPermissions` | `int64` | | ☐ | Call permissions, if not `Custom` this are not the resulting permissions, if set they will reset after the end of the call (see [constants list](https://nextcloud-talk.readthedocs.io/en/latest/constants#attendee-permissions)) |
| `callRecording` | `int64` | | ☐ | Type of call recording (see [Constants - Call recording status](https://nextcloud-talk.readthedocs.io/en/latest/constants#call-recording-status)) (only available with `recording-v1` capability) |
| `callStartTime` | `int64` | | ☐ | Timestamp when the call was started (only available with `recording-v1` capability) |
| `canDeleteConversation` | `char` | | ☐ | Flag if the user can delete the conversation for everyone (not possible without moderator permissions or in one-to-one conversations) |
| `canEnableSIP` | `char` | | ☐ | Whether the given user can enable SIP for this conversation. Note that when the token is not-numeric only, SIP can not be enabled even if the user is permitted and a moderator of the conversation |
| `canLeaveConversation` | `char` | | ☐ | Flag if the user can leave the conversation (not possible for the last user with moderator permissions) |
| `canStartCall` | `char` | | ☐ | Flag if the user can start a new call in this conversation (joining is always possible) (only available with `start-call-flag` capability) |
| `defaultPermissions` | `int64` | | ☐ | Default permissions for new participants (see [constants list](https://nextcloud-talk.readthedocs.io/en/latest/constants#attendee-permissions)) |
| `description` | `varchar2` | | ☐ | Description of the conversation (can also be empty) (only available with `room-description` capability) |
| `displayName` | `varchar2` | | ☐ | `name` if non-empty, otherwise it falls back to a list of participants |
| `hasCall` | `char` | | ☐ | Flag if the conversation has an active call |
| `hasPassword` | `char` | | ☐ | Flag if the conversation has a password |
| `hasScheduledMessages` | `int64` | | ☐ | Required capability: `scheduled-messages` (local) |
| `hiddenPinnedId` | `int64` | | ☐ | Required capability: `pinned-messages` |
| `id` | `int64` | | ☐ | Numeric identifier of the conversation |
| `invitedActorId` | `varchar2` | | ☐ | The cloud id of the invited user |
| `isArchived` | `char` | | ☐ | Flag if the conversation is archived by the user (only available with `archived-conversations-v2` capability) |
| `isCustomAvatar` | `char` | | ☐ | Flag if the conversation has a custom avatar (only available with `avatar` capability) |
| `isFavorite` | `char` | | ☐ | Flag if the conversation is favorited by the user |
| `isImportant` | `char` | | ☐ | Required capability: `important-conversations` |
| `isSensitive` | `char` | | ☐ | Required capability: `sensitive-conversations` |
| `lastActivity` | `int64` | | ☐ | Timestamp of the last activity in the conversation, in seconds and UTC time zone |
| `lastCommonReadMessage` | `int64` | | ☐ | ID of the last message read by every user that has read privacy set to public in a room. When the user themself has it set to private the value is `0` (only available with `chat-read-status` capability) |
| `lastPing` | `int64` | | ☐ | Timestamp of the user's session making the request |
| `lastPinnedId` | `int64` | | ☐ | Required capability: `pinned-messages` |
| `lastReadMessage` | `int64` | | ☐ | ID of the last read message in a room (only available with `chat-read-marker` capability) |
| `listable` | `int64` | | ☐ | Listable scope for the room (only available with `listable-rooms` capability) |
| `liveTranscriptionLanguageId` | `varchar2` | | ☐ | ID of the language to use for live transcriptions in the room, |
| `lobbyState` | `int64` | | ☐ | Webinar lobby restriction (0-1), if the participant is a moderator they can always join the conversation (only available with `webinary-lobby` capability) (See [Webinar lobby states](https://nextcloud-talk.readthedocs.io/en/latest/constants#webinar-lobby-states)) |
| `lobbyTimer` | `int64` | | ☐ | Timestamp when the lobby will be automatically disabled (only available with `webinary-lobby` capability) |
| `mentionPermissions` | `int64` | | ☐ | Whether all participants can mention using `@all` or only moderators (see [constants list](https://nextcloud-talk.readthedocs.io/en/latest/constants#mention-permissions)) (only available with `mention-permissions` capability) |
| `messageExpiration` | `int64` | | ☐ | The message expiration time in seconds in this chat. Zero if disabled. (only available with `message-expiration` capability) |
| `name` | `varchar2` | | ☐ | Name of the conversation (can also be empty) |
| `notificationCalls` | `int64` | | ☐ | |
| `notificationLevel` | `int64` | | ☐ | The notification level for the user (See [Participant notification levels](https://nextcloud-talk.readthedocs.io/en/latest/constants#participant-notification-levels)) |
| `objectId` | `varchar2` | | ☐ | See [Object types](https://nextcloud-talk.readthedocs.io/en/latest/constants#object-types) documentation for explanation |
| `objectType` | `varchar2` | | ☐ | The type of object that the conversation is associated with (See [Object types](https://nextcloud-talk.readthedocs.io/en/latest/constants#object-types)) |
| `participantFlags` | `int64` | | ☐ | "In call" flags of the user's session making the request (only available with `in-call-flags` capability) |
| `participantType` | `int64` | | ☐ | Permissions level of the current user |
| `permissions` | `int64` | | ☐ | Combined final permissions for the current participant, permissions are picked in order of attendee then call then default and the first which is `Custom` will apply (see [constants list](https://nextcloud-talk.readthedocs.io/en/latest/constants#attendee-permissions)) |
| `readOnly` | `int64` | | ☐ | Read-only state for the current user (only available with `read-only-rooms` capability) |
| `recordingConsent` | `int64` | | ☐ | Whether recording consent is required before joining a call (Only 0 and 1 will be returned, see [constants list](https://nextcloud-talk.readthedocs.io/en/latest/constants#recording-consent-required)) (only available with `recording-consent` capability) |
| `remoteServer` | `varchar2` | | ☐ | |
| `remoteToken` | `varchar2` | | ☐ | |
| `sessionId` | `varchar2` | | ☐ | `'0'` if not connected, otherwise an up to 512 character long string that is the identifier of the user's session making the request. Should only be used to pre-check if the user joined already with this session, but this might be outdated by the time of usage, so better check via [Get list of participants in a conversation](https://nextcloud-talk.readthedocs.io/en/latest/participant/#get-list-of-participants-in-a-conversation) |
| `sipEnabled` | `int64` | | ☐ | SIP enable status (see [constants list](https://nextcloud-talk.readthedocs.io/en/latest/constants#sip-states)) |
| `statusClearAt` | `int64` | | ☐ | Optional: Only available for one-to-one conversations, when `includeStatus=true` is set and the user has a status, can still be null even with a status |
| `statusIcon` | `varchar2` | | ☐ | Optional: Only available for one-to-one conversations, when `includeStatus=true` is set and the user has a status, can still be null even with a status |
| `statusMessage` | `varchar2` | | ☐ | Optional: Only available for one-to-one conversations, when `includeStatus=true` is set and the user has a status, can still be null even with a status |
| `status` | `varchar2` | | ☐ | Optional: Only available for one-to-one conversations, when `includeStatus=true` is set and the user has a status |
| `token` | `varchar2` | | ☐ | Token identifier of the conversation which is used for further interaction |
| `type` | `int64` | | ☐ | See list of conversation types in the [constants list](https://nextcloud-talk.readthedocs.io/en/latest/constants/#conversation-types) |
| `unreadMentionDirect` | `char` | | ☐ | Flag if the user was mentioned directly (ignoring `@all` mentions) since their last visit (only available with `direct-mention-flag` capability) |
| `unreadMention` | `char` | | ☐ | Flag if the user was mentioned since their last visit |
| `unreadMessages` | `int64` | | ☐ | Number of unread chat messages in the conversation (only available with `chat-v2` capability) |