Add API endpoint to fetch menu item tree

This commit is contained in:
garrettmills
2020-02-08 12:36:42 -06:00
parent 617a77b809
commit 85e0af2e9d
3 changed files with 47 additions and 0 deletions

View File

@@ -39,6 +39,8 @@ const index = {
'/hello_world': ['controller::api:v1:Misc.hello_world'],
'/page/:PageId': ['controller::api:v1:Page.get_page'],
'/page/:PageId/nodes': ['controller::api:v1:Page.get_nodes'],
'/menu/items': ['controller::api:v1:Menu.get_items'],
},
post: {