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

Description

Creates a logo for a room with the ID specified in the request.

Parameters
Name Description Type Example
id
sent in url
Room ID number 1234
TmpFile
sent in body
The path to the temporary image file string some text
X
sent in body
The X coordinate of the rectangle starting point number 1234
Y
sent in body
The Y coordinate of the rectangle starting point number 1234
Width
sent in body
The rectangle width number 1234
Height
sent in body
The rectangle height number 1234
Example
POST api/2.0/files/rooms/1234/logo
Host: yourportal.onlyoffice.com
Content-Type: application/json
Accept: application/json

{
  "TmpFile": "some text",
  "X": 1234,
  "Y": 1234,
  "Width": 1234,
  "Height": 1234
}
Returns

Room information

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