Creates a room in the "Rooms" section.
Name | Description | Type | Example |
Title
sent in body
|
Room name | string | some text |
RoomType
sent in body
|
Room type | FillingFormsRoom = 1, EditingRoom = 2, ReviewRoom = 3, ReadOnlyRoom = 4, CustomRoom = 5, PublicRoom = 6 | 5 |
Private
sent in body
|
Private room or not | Bool value | true |
Share
sent in body
|
Collection of sharing parameters |
Collection of ASC.Files.Core.ApiModels.FileShareParamss
collection
|
|
Notify
sent in body
|
Notifies users about the shared room or not | Bool value | true |
SharingMessage
sent in body
|
Message to send when notifying about the shared room | string | some text |
POST api/2.0/files/rooms Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "Title": "some text", "RoomType": "5", "Private": true, "Notify": true, "SharingMessage": "some text" }
Room information
{ "status": 0, "response": { "ParentId": 1234, "FilesCount": 1234, "FoldersCount": 1234, "New": 1234, "Mute": true, "Pinned": true, "Private": true } }