Frontend | Backend | Api

Menus routes (Backend)

Name Request Response variables Description
addMenu

GET /cdna-admin/menus/add-menu

Name Type Description
menu Menu Single (empty) Menu record
Add a new record. Assigns an empty record to the template.
editMenu

GET /cdna-admin/menus/menu/{id}

id \d+
Name Type Description
menu Menu Retrieved Menu record
Retrieve a single record and display the edit page for the record
manageMenus

GET /cdna-admin/menus/menus

Name Type Description
menus Collection (Menu) Collection of Menus
Retrieve available records and assign them to the template for editing.
addElement

GET /cdna-admin/menus/add-element/{menu.id}/{parent.id}

menu.id \d+
parent.id \d+
Name Type Description
element Element Single (empty) Element record
Add a new record. Assigns an empty record to the template.
editElement

GET /cdna-admin/menus/element/{id}

id \d+
Name Type Description
element Element Retrieved Element record
Retrieve a single record and display the edit page for the record
manageElements

GET /cdna-admin/menus/elements/{menu.id}

menu.id \d+
Name Type Description
elements Collection (Element) Collection of Elements
Retrieve available records and assign them to the template for editing.