I'm trying to build a website using Joomla only for the REST API.
After building a menu, how can i retrieve all of the menu items related to that menu?
I found this endpoint curl -X GET /api/index.php/v1/menus/{app}/items .
But in this way i'm going to retrieve all the menu items for the entire frontend.
Labels |
Added:
No Code Attached Yet
|
we should introduce such new endpoint i think
Status | New | ⇒ | Closed |
Closed_Date | 0000-00-00 00:00:00 | ⇒ | 2023-01-20 13:54:34 |
Closed_By | ⇒ | Quy |
@alikon thanks for your implementation.
I Think that the filter should be implemented even for the modules.
Starting from a menu alias, there should be a way to retrieve all the modules associated; because at the moment it's a little bit tricky retrieve all the content associated to a menu item.
Should i open another issue? I don't want to go off topic.
yes please open a new issue and describe the feature
I'm not an expert. Doesn't it work by adding
?filter[menutype]=mainmenu
to the url?mainmenu
as example for themenutype
column from table#__menu
EDIT: Nope!
menutype
not inpublic function displayList()
as filter yet.