Creates a logo for a room with the ID specified in the request.
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 |
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 }
Room information
{ "status": 0, "response": { "ParentId": 1234, "FilesCount": 1234, "FoldersCount": 1234, "IsShareable": true, "IsFavorite": true, "New": 1234, "Mute": true, "Pinned": true, "RoomType": "5", "Private": true, "QuotaLimit": 1234, "IsCustomQuota": true, "UsedSpace": 1234 } }