I would like to create a custom component to use in Experience Builder, and this component will allow a configurable navigation to another page. I would like to use a dynamic picklist with Apex to get the list of all available pages for the Community we're currently on.
I couldn't find any way to get the list of these pages, is there a table that can be queried to get this list of pages/routes ?
I noticed that when editing a NavigationMenu, the list is available but from a private and undocumented API:
I couldn't find any official API or table to get this.