[v4] How to fetch the image from of an objects component via rest api?

Hey, populate=“*” is equivalent to " Populate 1 level for all relations". But here you want to populate on two levels.
I think what you can try is either:

  • populate 2 levels for all relations: /api/office-infos?populate[0]=*&populate[1]=* but I’m not sure if this is supported tbh.

  • The better approach would be to only populate what you need: /api/articles?populate[0]=floors&populate[1]=floors.floorPlanImage

You can use the qs library to simplify things.

See docs: Populate and Select | Strapi Documentation