Przejdź do głównej zawartości

Pobierz zdjęcia wielu obiektów

POST
/api/GetMany/{entityName}
curl --request POST \
--url https://twoja-instancja-image-gallery-api.enterprise.sellrocket.pl/api/GetMany/example \
--header 'Authorization: Bearer <token>' \
--header 'Content-Type: application/json' \
--data '{ "ids": [ "example" ] }'

Zwraca zdjęcia dla listy identyfikatorów obiektów danego typu – operacja odczytu.

entityName
wymagane
string
object
ids
Array<string>
nullable
Examplegenerated
{
"ids": [
"example"
]
}

Success

Array<object>
object
entityId
string
nullable
pictures
Array<object>
nullable
object
slot
integer format: int32
url
string
nullable
type
string
nullable
extension
string
nullable

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