Creates photo thumbnails by coordinates of the original image specified in the request.
Name | Description | Type | Example |
userid
sent in url
|
User ID | string | some text |
TmpFile
sent in body
|
Path to the temporary file | string | some text |
X
sent in body
|
Horizontal coordinate | number | 1234 |
Y
sent in body
|
Vertical coordinate | number | 1234 |
Width
sent in body
|
Thumbnail width | number | 1234 |
Height
sent in body
|
Thumbnail height | number | 1234 |
POST api/2.0/people/%22some+text%22/photo/thumbnails Host: yourportal.onlyoffice.com Content-Type: application/json Accept: application/json { "TmpFile": "some text", "X": 1234, "Y": 1234, "Width": 1234, "Height": 1234 }
Thumbnail parameters
{ "status": 0, "response": { "Original": "some text", "Retina": "some text", "Max": "some text", "Big": "some text", "Medium": "some text", "Small": "some text" } }