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 parameters | required | Parameters of images whose URLs should be returned. |
Image parameters
Property | Type | Contract | Description |
---|---|---|---|
| string | required | Unique identifier of the image. |
| number | required | Desired width of the image. |
| number | required | Desired height of the image. |
| string Image resize mode | required | Mode how the image should be resized to the desired width and height. |
Image resize mode
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.Cover
- resize to cover the specified dimensions, so the result might be larger than requested.CoverExact
- resize and clip to cover 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