POST api/2.0/files/rooms/thirdparty/{id} This function requires authentication

Description

Creates a room in the "Rooms" section stored in a third-party storage.

Parameters
Name Description Type Example
id
sent in url
ID of the folder in the third-party storage in which the contents of the room will be stored string some text
Title
sent in body
Room name System.String
RoomType
sent in body
Room type ASC.Files.Core.ApiModels.RequestDto.RoomType
Private
sent in body
Private room or not System.Boolean
Share
sent in body
Collection of sharing parameters System.Collections.Generic.IEnumerable{ASC.Files.Core.ApiModels.FileShareParams}
Notify
sent in body
Notifies users about the shared room or not System.Boolean
SharingMessage
sent in body
Message to send when notifying about the shared room System.String
Example
POST api/2.0/files/rooms/thirdparty/%22some+text%22
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "Title": "some text",
  "RoomType": "EditingRoom",
  "Private": true,
  "Notify": true,
  "SharingMessage": "some text"
}
Returns

Room information

Example Response
{
  "status": 0,
  "response": {
    "ParentId": 1234,
    "FilesCount": 1234,
    "FoldersCount": 1234,
    "New": 1234,
    "Mute": true,
    "Pinned": true,
    "Private": true
  }
}