Image uploading

Generate image upload presigned url.

post/image-upload-url

Request body

contentTypestring required

Image file content type.

Example request

{
  "contentType": "image/jpeg"
}

Response

OK.

imageIdstring

Image identifier. This value has to be attached to goods entity, see /goods methods

urlstring

Presigned upload url.

methodstring

Http method name.

expiresnumber

Expiration time in epoch milliseconds.

Example response

{
  "headers": {
    "Content-Type": [
      "image/jpeg"
    ]
  },
  "method": "PUT",
  "expires": 1632137293751
}

Changes