hi there I’m trying to build a menu with Visual data, so the object looks like this:
{
“menuItems”: [
{
“subMenuItems”: [],
“title”: “Air Purifiers”,
“url”: “/#air-purifiers”
},
{
“subMenuItems”: [],
“title”: “Humidifiers + Diffusers”,
“url”: “/#humidifiers-diffusers”
}
],
“menuName”: “Main Menu”,
“url”: “/main-menu”
}
here menuItems and subMenuItems are references to different content entries
The issue here is that I set subMenuItems and published it but I don’t get them in API response.
is there any param I should send in request to get subMenuItems included in response. Also how deep can I get entries?
Thanks