Hi
Greetings of the day!
I am trying to get a menu that I’ve created (single type) via api.
This menu has a logo, a button, and a collection of menu__items.
This is how I am getting the menu on the endpoint:
http://localhost:1337/api/main-menu?populate=*
I am getting some information, like the logo, the button, and the menu__items, but the menu__items are incomplete.
My menu__items are composed like this:
- label (showing in the api)
- url (showing in the api)
- menu__main (component - not showing in the api)
- menu__aside (component - not showing in the api)
I would like to get all of the menu information on the endpoint.
Everything is published. everything has “find” and “findOne” activated on Roles.
One thing that I have to mention, is that I discovered a plugin that helps with this issue, it is called “populate deep”. But I was wondering is there was a solution without the plugin.