Frontend | Backend | Api

Common routes (Backend)

Name Request Response variables Description
editLayout

GET /cdna-admin/common/layout/{id}

id \d+
Name Type Description
layout Layout Retrieved Layout record
Retrieve a single record and display the edit page for the record
manageLayouts

GET /cdna-admin/common/layouts

Name Type Description
layouts Collection (Layout) Collection of Layouts
Retrieve available records and assign them to the template for editing.
addLayoutCategory

GET /cdna-admin/common/add-layout-category/{parent.id}

parent.id \d+
Name Type Description
layoutCategory LayoutCategory Single (empty) LayoutCategory record
Add a new record. Assigns an empty record to the template.
editLayoutCategory

GET /cdna-admin/common/layout-category/{id}

id \d+
Name Type Description
layoutCategory LayoutCategory Retrieved LayoutCategory record
Retrieve a single record and display the edit page for the record
manageLayoutCategories

GET /cdna-admin/common/layout-categories

Name Type Description
layoutCategories Collection (LayoutCategory) Collection of LayoutCategories
Retrieve available records and assign them to the template for editing.
addInputType

GET /cdna-admin/common/add-input-type

Name Type Description
inputType InputType Single (empty) InputType record
Add a new record. Assigns an empty record to the template.
editInputType

GET /cdna-admin/common/input-type/{id}

id \d+
Name Type Description
inputType InputType Retrieved InputType record
Retrieve a single record and display the edit page for the record
manageInputTypes

GET /cdna-admin/common/input-types

Name Type Description
inputTypes Collection (InputType) Collection of InputTypes
Retrieve available records and assign them to the template for editing.
addCategory

GET /cdna-admin/common/add-category/{parent.id}

parent.id \d+
Name Type Description
category Category Single (empty) Category record
Add a new record. Assigns an empty record to the template.
editCategory

GET /cdna-admin/common/category/{id}

id \d+
Name Type Description
category Category Retrieved Category record
Retrieve a single record and display the edit page for the record
manageCategories

GET /cdna-admin/common/categories

Name Type Description
categories Collection (Category) Collection of Categories
Retrieve available records and assign them to the template for editing.
addTag

GET /cdna-admin/common/add-tag

Name Type Description
tag Tag Single (empty) Tag record
Add a new record. Assigns an empty record to the template.
editTag

GET /cdna-admin/common/tag/{id}

id \d+
Name Type Description
tag Tag Retrieved Tag record
Retrieve a single record and display the edit page for the record
manageTags

GET /cdna-admin/common/tags

Name Type Description
tags Collection (Tag) Collection of Tags
Retrieve available records and assign them to the template for editing.
addWidget

GET /cdna-admin/common/add-widget/{module}/{configName}

module \w+
configName \w+
Name Type Description
widget Widget Single (empty) Widget record
Add a new record. Assigns an empty record to the template.
editWidget

GET /cdna-admin/common/widget/{id}

id \d+
Name Type Description
widget Widget Retrieved Widget record
Retrieve a single record and display the edit page for the record
manageWidgets

GET /cdna-admin/common/widgets

Name Type Description
widgets Collection (Widget) Collection of Widgets
Retrieve available records and assign them to the template for editing.
addGlobalComponent

GET /cdna-admin/common/add-global-component/{layout.id}

layout.id \d+
Name Type Description
globalComponent GlobalComponent Single (empty) GlobalComponent record
Add a new record. Assigns an empty record to the template.
editGlobalComponent

GET /cdna-admin/common/global-component/{id}/{revision.id}

id \d+
revision.id \d+
Name Type Description
globalComponent GlobalComponent Retrieved GlobalComponent record
Retrieve a single record and display the edit page for the record
manageGlobalComponents

GET /cdna-admin/common/global-components

Name Type Description
globalComponents Collection (GlobalComponent) Collection of GlobalComponents
Retrieve available records and assign them to the template for editing.
searchGlobalComponents

GET /cdna-admin/common/search-global-components

Name Type Description
globalComponents Collection (GlobalComponent) Collection of GlobalComponents
Retrieve available records and assign them to the template for editing.
addCustomField

GET /cdna-admin/common/add-custom-field

Name Type Description
customField CustomField Single (empty) CustomField record
Add a new record. Assigns an empty record to the template.
editCustomField

GET /cdna-admin/common/custom-field/{id}

id \d+
Name Type Description
customField CustomField Retrieved CustomField record
Retrieve a single record and display the edit page for the record
manageCustomFields

GET /cdna-admin/common/custom-fields

Name Type Description
customFields Collection (CustomField) Collection of CustomFields
Retrieve available records and assign them to the template for editing.