GET restapi/personal/person/image/dimensions/v1
Get the dimensions that should be used for profile images that you upload through this API.
This method returns the maximum pixel height and width of the image.
This method may be used for e.g. determining dimensions of a cropping rectangle that the user can use before the client uploads an image.
Request Information
URI Parameters
None.
Body Parameters
None.
Response Information
Resource Description
The maximum height and width of the persons uploaded image.
Itslearning.RestApi.Entities.PersonImageDimensionsName | Description | Type | Additional information |
---|---|---|---|
PixelWidth | integer |
None. |
|
PixelHeight | integer |
None. |
Response Formats
application/json, text/json
Sample:
{ "PixelWidth": 1, "PixelHeight": 2 }
application/xml, text/xml
Sample:
<PersonImageDimensions xmlns:i="http://www.w3.org/2001/XMLSchema-instance"> <PixelHeight>2</PixelHeight> <PixelWidth>1</PixelWidth> </PersonImageDimensions>