Glue API: Retrieve image sets of concrete products

Edit on GitHub

This endpoint allows retrieving image sets of concrete products.

Installation

For detailed information on the modules that provide the API functionality and related installation instructions, see:

Retrieve image sets of a concrete product

To retrieve image sets of a concrete product, send the request:


GET /concrete-products/{{concrete_product_sku}}/concrete-product-image-sets


PATH PARAMETER DESCRIPTION
{{concrete_product_sku}} SKU of a concrete product to get the image sets of.

Request

Request sample: retrieve image sets of a concrete product

GET http://glue.mysprykershop.com/concrete-products/001_25904006/concrete-product-image-sets

Response

Response sample: retrieve image sets of a concrete product
{
    "data": [
        {
            "type": "concrete-product-image-sets",
            "id": "177_25913296",
            "attributes": {
                "imageSets": [
                    {
                        "name": "default",
                        "images": [
                            {
                                "externalUrlLarge": "//images.icecat.biz/img/norm/high/24867659-4916.jpg",
                                "externalUrlSmall": "//images.icecat.biz/img/norm/medium/24867659-4916.jpg"
                            }
                        ]
                    }
                ]
            },
            "links": {
                "self": "http://glue.mysprykershop.com/concrete-products/177_25913296/concrete-product-image-sets"
            }
        }
    ],
    "links": {
        "self": "http://glue.mysprykershop.com/concrete-products/177_25913296/concrete-product-image-sets"
    }
}
RESOURCE ATTRIBUTE DESCRIPTION
concrete-product-image-sets name Image set name.
concrete-product-image-sets externalUrlLarge URLs to the image per image set per image.
concrete-product-image-sets externalUrlSmall URLs to the image per image set per image.

Possible errors

CODE REASON
302 Concrete product is not found.
304 Can’t find concrete product image sets.

To view generic errors that originate from the Glue Application, see Reference information: GlueApplication errors.