Fetching navigation menu using headless rest api in Liferay DXP 7.2

Hiren Bhavsar, modified 5 Years ago. New Member Post: 1 Join Date: 2/24/20 Recent Posts
Hi,Can anyone please help me on below.I am trying to fetch navigation menu using headless rest api in Liferay 7.2 but I could not see the specific end point. Are there any other ways to achieve the same?Thank you
thumbnail
David H Nebinger, modified 5 Years ago. Liferay Legend Posts: 14933 Join Date: 9/2/06 Recent Posts
Out of curiosity, in what respect does your SPA app care about whatever page navigation someone has defined for the Liferay side?


Are you just trying to show links, or do you have some kind of plan that your SPA navigation is somehow going to be bound to a corresponding Liferay navigation layout?

I ask because I'm completely confused here. If I build a SPA, other than consuming resources, I wouldn't give two cents whatever the Liferay navigation was...
thumbnail
Javier Gamarra, modified 5 Years ago. Expert Posts: 348 Join Date: 2/12/15 Recent Posts
NavigationMenu API will be available in next GA/fixpacks, it was already merged about one month ago emoticon 

I'm also curious about the use case, what do you want to achieve?
Lee Jordan, modified 5 Years ago. Expert Posts: 449 Join Date: 5/26/15 Recent Posts
He may be trying to workaround the failure of 7.2 to regain navigation menu in the left product menu. I know that one of my own thoughts was to restore the navigation by looking at headless or sitemap. If there was a navigation API I would certainly use it to put back what shouldn't have been removed. Yeah we could upgrade to 7.3 but our momentum has been on 7.2 and I'm doubtful I can get anyone at this point to abandon 7.2.