Images
Get image URLs
Returns URLs of the specified images.
Request
[PlatformAddress]/api/connector/v1/images/getUrls
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Token identifying the client application. |
| string | required | Access token of the client application. |
| string | required | Name and version of the client application. |
| array of Image size parameters | required | Parameters of images whose URLs should be returned. |
Image size parameters
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Unique identifier of the image. |
| integer | optional | Desired width of the image. |
| integer | optional | Desired height of the image. |
| optional | Mode how the image should be resized to the desired width and height. |
Image resize mode
Cover
- Resize to fit within the specified size, so the result might be smaller than requested.CoverExact
- Resize and pad to exactly fit within the specified size.Fit
- Resize to fit within the specified size, so the result might be smaller than requested.FitExact
- Resize and pad to exactly fit within the specified size.
Response
Property | Type | Contract | Description |
---|---|---|---|
| array of Image URL | required | URLs of the images. |
Image URL
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Unique identifier of the image. |
| string | required | URL of the image. |
Last updated