Przejdź do głównej zawartości

Pobierz miniaturę obiektu

GET
/api/{entityName}/{entityId}/preview
curl --request GET \
--url https://twoja-instancja-image-gallery-api.enterprise.sellrocket.pl/api/example/example/preview \
--header 'Authorization: Bearer <token>'

Zwraca miniaturę głównego zdjęcia obiektu, np. do wyświetlania na listach.

entityName
wymagane
string
entityId
wymagane
string

Success

object
smallUrl
string
nullable
miniUrl
string
nullable
originalCompressedUrl
string
nullable
entityName
string
nullable
entityIdentifier
string
nullable
slot
integer format: int32

Bad Request

object
type
string
nullable
title
string
nullable
status
integer format: int32
nullable
detail
string
nullable
instance
string
nullable
key
additional properties

Server Error