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:
stringThe hex color code used to replace the transparency layer when converting images to JPEG. Default is FFFFFF.- height
Type:integerThe maximum height of the resized image. Required along with the 'width' parameter for the image to be resized.- outputFormat
Type:stringOutput 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:numberQuality of the image transformation: 0.0 (worst/fast) - 1.0 (best/slow). Default is 1.0.- source
Type:stringRequired:trueThe source location of the original image.- width
Type:integerThe 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:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - errors
-
Type:
arrayerrorsAdditional Properties Allowed:An optional list of errors if multiple errors were encountered - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code - type
-
Type:
stringThe URI to the HTTP state code definition
Nested Schema : errorsNested Schema : itemsType:object- devMessage
-
Type:
stringAn optional non-localized message containing technical information for developers - errorCode
-
Type:
stringThe numerical code identifying the error - message
-
Type:
stringThe localized message describing the error - moreInfo
-
Type:
stringAn optional non-localized message with more information - o:errorPath
-
Type:
stringAn optional machine readable description of where the error occurred - status
-
Type:
stringThe HTTP status code