Get tile image upload result

GET https://vuega.ecwid.com/api/v1/{storeId}/image/{imageId}

Required access scopes

Your app must have the following access scopes to make this request: manage_instant_site

Path params

All path params are required.

Param
Type
Description

storeId

number

Ecwid store ID.

imageId

string

Internal tile image ID received in Upload Instant Site tile image request.

Headers

Both headers are required.

Header
Type
Description

Authorization

string

Token for Instant Site API calls. Get token Requires a token with grant_type=authorization_code type.

Response JSON

A JSON object with the following fields:

Field
Type
Description

bucket

string

Internal ID of the bucket – server that hosts the uploaded image. For example, "eu-fra". Use Get list of buckets for tile images request to get the bucket's URL. Then combine it with the set > url from this request to get the full image URL.

set

array of objects set

Details about tile image in one or several sizes.

borderInfo

object borderInfo

Image border details.

set

Field
Type
Description

url

string

Link to the image. Does not include bucket, for example, "1003/cover-Zm***N/7xGvpFA-600x600.web".

width

number

Image width in px.

height

number

Image height in px.

borderInfo

Field
Type
Description

homogeneity

boolean

Defines if the image border is homogeneous (true) or not (false).

color

object color

Border color in RGBa.

color

Field
Type
Description

r

number

Red channel value.

g

number

Green channel value.

b

number

Blue channel value.

a

number

Alpha channel value (opacity).

Last updated

Was this helpful?