REST API - Image Gallery field format?

Hi,

I’m using a REST API data source and trying to display multiple images in an Image Gallery field on an Item Details block.

What format should my API return for the Image Gallery to work? I’ve tried:

  • Comma-separated string: "url1.jpg, url2.jpg, url3.jpg"

  • Semicolon-separated: "url1.jpg; url2.jpg"

  • Array of objects: [{"name":"photo.jpg","url":"url1.jpg","type":"image/jpeg"}]

None of these work — the gallery shows empty.

What is the correct format for Image Gallery with a REST API data source?

Thanks