getImages
get
/ccstore/v1/images
Get Images. Gets an image and optionally resizes and converts it to a different format. Image resizing and conversion is not available for GIF source images. Endpoint responds with a content type of 'application/json' in error conditions, otherwise one of 'image/jpeg', 'image/png', or 'image/gif' depending on the source image and specified parameters.
Request
Supported Media Types
- application/json
Query Parameters
- alphaChannelColor
-
Type:
string
The hex color code used to replace the transparency layer when converting images to JPEG. Default is FFFFFF.- height
Type:integer
The maximum height of the resized image. Required along with the 'width' parameter for the image to be resized.- outputFormat
Type:string
Output format of the converted image. JPEG is the only supported output format. When specified, the source image is converted to a JPEG except for GIF images which are not converted.- quality
Type:number
Quality of the image transformation: 0.0 (worst/fast) - 1.0 (best/slow). Default is 1.0.- source
Type:string
Required:true
The source location of the original image.- width
Type:integer
The maximum width of the resized image. Required along with the 'height' parameter for the image to be resized.Response
Supported Media Types- image/jpeg
- image/png
- image/gif
200 ResponseFollowing model is returned when operation succeeds.BodyRoot Schema : getImages_responseDefault ResponseThe error responseBodyRoot Schema : errorModelType:object
- devMessage
-
Type:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - errors
-
Type:
array
errorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The HTTP status code - type
-
Type:
string
The URI to the HTTP state code definition
Nested Schema : errorsNested Schema : itemsType:object
- devMessage
-
Type:
string
An optional non-localized message containing technical information for developers - errorCode
-
Type:
string
The numerical code identifying the error - message
-
Type:
string
The localized message describing the error - moreInfo
-
Type:
string
An optional non-localized message with more information - o:errorPath
-
Type:
string
An optional machine readable description of where the error occurred - status
-
Type:
string
The HTTP status code