Skip to main content

Shared Folder

The shared folder module allows moderators to share the link to a shared folder hosted on an external service.

Currently supported service types:

  • NextCloud

Joining the room

JoinSuccess

When joining a room, the join_success control event contains the module-specific fields described below if a shared folder has been configured for the event associated with the meeting.

Fields

FieldTypeAlwaysDescription
readSharedFolderAccessyesRead access to the shared folder.
read_writeSharedFolderAccessnoRead and write access to the shared folder. Only present if the user has moderation permission.
Example

Moderator is joining a room with a shared folder:

{
"read": {
"url": "https://nextcloud.example.com/s/TArrLyC3K7c5Jbg",
"password": "DLgoYrFEoy"
},
"read_write": {
"url": "https://nextcloud.example.com/s/9x8x4P4nztD7XgC",
"password": "ZA4AG3D9BD"
}
}

Non-moderator participant is joining a room with a shared folder:

{
"read": {
"url": "https://nextcloud.example.com/s/TArrLyC3K7c5Jbg",
"password": "DLgoYrFEoy"
}
}

Joined

When joining a room, the joined control event sent to all other participants does not contain module-specific data.


Commands

This module does not define any commands


Events

Events are received by participants when the shared folder state has changed.

Updated

Information about a shared folder has been updated, e.g. by getting moderation permissions granted or revoked.

Fields

FieldTypeAlwaysDescription
messageenumyesIs "updated"
readSharedFolderAccessyesRead access to the shared folder.
read_writeSharedFolderAccessnoRead and write access to the shared folder. Only present if the current user has moderation permission.
Example

Updated message received by a moderator:

{
"message": "updated",
"read": {
"url": "https://nextcloud.example.com/s/TArrLyC3K7c5Jbg",
"password": "DLgoYrFEoy"
},
"read_write": {
"url": "https://nextcloud.example.com/s/9x8x4P4nztD7XgC",
"password": "ZA4AG3D9BD"
}
}

Updated message received by a non-moderator:

{
"message": "updated",
"read": {
"url": "https://nextcloud.example.com/s/TArrLyC3K7c5Jbg",
"password": "DLgoYrFEoy"
}
}

Shared Types

SharedFolderAccess

The information required to access a shared folder.

Fields

FieldTypeAlwaysDescription
urlstringyesThe URL where the shared folder can be accessed.
passwordstringyesA password required for accessing the shared folder contents.