If trying to get a data with: /api/available-today?populate=top.catalogImage.detailedImage
will get only this:
{
“data”: {
“id”: 1,
“attributes”: {
“createdAt”: “2021-12-25T04:00:07.615Z”,
“updatedAt”: “2021-12-25T04:00:08.843Z”,
“publishedAt”: “2021-12-25T04:00:08.840Z”,
“top”: [
{
“id”: 3,
“__component”: “available-today.mousse-cake”,
“Name”: “Mousse Cake”,
“description”: “”,
“price”: 50,
“inStockCount”: 1,
“priority”: 500,
“catalogImage”: {
“data”: {
“id”: 35,
“attributes”: {
“name”: “red cake.jpeg”,
“alternativeText”: “red cake.jpeg”,
“caption”: “red cake.jpeg”,
“width”: 1080,
“height”: 1311,
“formats”: {
“large”: {
“ext”: “.jpeg”,
“url”: “/uploads/large_red_cake_040eeb6e6a.jpeg”,
“hash”: “large_red_cake_040eeb6e6a”,
“mime”: “image/jpeg”,
“name”: “large_red cake.jpeg”,
“path”: null,
“size”: 75.01,
“width”: 824,
“height”: 1000
},
“small”: {
“ext”: “.jpeg”,
“url”: “/uploads/small_red_cake_040eeb6e6a.jpeg”,
“hash”: “small_red_cake_040eeb6e6a”,
“mime”: “image/jpeg”,
“name”: “small_red cake.jpeg”,
“path”: null,
“size”: 26.16,
“width”: 412,
“height”: 500
},
“medium”: {
“ext”: “.jpeg”,
“url”: “/uploads/medium_red_cake_040eeb6e6a.jpeg”,
“hash”: “medium_red_cake_040eeb6e6a”,
“mime”: “image/jpeg”,
“name”: “medium_red cake.jpeg”,
“path”: null,
“size”: 48.72,
“width”: 618,
“height”: 750
},
“thumbnail”: {
“ext”: “.jpeg”,
“url”: “/uploads/thumbnail_red_cake_040eeb6e6a.jpeg”,
“hash”: “thumbnail_red_cake_040eeb6e6a”,
“mime”: “image/jpeg”,
“name”: “thumbnail_red cake.jpeg”,
“path”: null,
“size”: 4.57,
“width”: 129,
“height”: 156
}
},
“hash”: “red_cake_040eeb6e6a”,
“ext”: “.jpeg”,
“mime”: “image/jpeg”,
“size”: 109.83,
“url”: “/uploads/red_cake_040eeb6e6a.jpeg”,
“previewUrl”: null,
“provider”: “local”,
“provider_metadata”: null,
“createdAt”: “2021-12-25T02:10:51.232Z”,
“updatedAt”: “2021-12-25T02:10:51.232Z”
}
}
}
}
]
}
},
“meta”: {}
}