Frontend | Backend | Api

Blogs routes (Frontend)

Name Request Response variables Description
listBlogs

GET /webblogs/{page}

page \d+
Name Type Description
blogs Collection (Blog) Collection of Blogs
_messages Coredna\Kernel\Helper\Response\Messages Messages helper; used to retrieve messages from the controller
_currentSite Site Current site
_url Coredna\Kernel\Helper\Url URL helper; used to generate urls
_request Coredna\Kernel\Helper\Response\Request Current HTTP request
_configuration Coredna\Kernel\Helper\Response\Configuration Configuration helper; provides access to the site's configuration
__ Coredna\Kernel\Helper\Translator Translation helper; allows translating keys to text
_menu Coredna\Kernel\Helper\Response\Menu Menu helper; provides easy access to DXP defined menus
Retrieve a list of records and assign them to the template.
listTagsPosts

GET /webblogs/{blog.slug}/tags/{tags}/{page}

blog.slug ^(?:[\w\-]*[a-zA-Z0-9\x7f-\xff]+)+[\w]*$
tags ^[\w\-]*[a-zA-Z\x7f-\xff]+[\w\-]*([&\|][\w\-]*[a-zA-Z\x7f-\xff]+[\w\-]*)*$
page \d+
Name Type Description
posts Collection (Post) Collection of Posts
_messages Coredna\Kernel\Helper\Response\Messages Messages helper; used to retrieve messages from the controller
_currentSite Site Current site
_url Coredna\Kernel\Helper\Url URL helper; used to generate urls
_request Coredna\Kernel\Helper\Response\Request Current HTTP request
_configuration Coredna\Kernel\Helper\Response\Configuration Configuration helper; provides access to the site's configuration
__ Coredna\Kernel\Helper\Translator Translation helper; allows translating keys to text
_menu Coredna\Kernel\Helper\Response\Menu Menu helper; provides easy access to DXP defined menus
Retrieve a list of records and assign them to the template.
listCategoriesPosts

GET /webblogs/{blog.slug}/categories/{categories}/{page}

blog.slug ^(?:[\w\-]*[a-zA-Z0-9\x7f-\xff]+)+[\w]*$
categories ^[\w\-]*[a-zA-Z\x7f-\xff]+[\w\-]*([&\|][\w\-]*[a-zA-Z\x7f-\xff]+[\w\-]*)*$
page \d+
Name Type Description
posts Collection (Post) Collection of Posts
_messages Coredna\Kernel\Helper\Response\Messages Messages helper; used to retrieve messages from the controller
_currentSite Site Current site
_url Coredna\Kernel\Helper\Url URL helper; used to generate urls
_request Coredna\Kernel\Helper\Response\Request Current HTTP request
_configuration Coredna\Kernel\Helper\Response\Configuration Configuration helper; provides access to the site's configuration
__ Coredna\Kernel\Helper\Translator Translation helper; allows translating keys to text
_menu Coredna\Kernel\Helper\Response\Menu Menu helper; provides easy access to DXP defined menus
Retrieve a list of records and assign them to the template.
listPosts

GET /webblogs/{blog.slug}/{page}

blog.slug ^(?:[\w\-]*[a-zA-Z0-9\x7f-\xff]+)+[\w]*$
page \d+
Name Type Description
posts Collection (Post) Collection of Posts
_messages Coredna\Kernel\Helper\Response\Messages Messages helper; used to retrieve messages from the controller
_currentSite Site Current site
_url Coredna\Kernel\Helper\Url URL helper; used to generate urls
_request Coredna\Kernel\Helper\Response\Request Current HTTP request
_configuration Coredna\Kernel\Helper\Response\Configuration Configuration helper; provides access to the site's configuration
__ Coredna\Kernel\Helper\Translator Translation helper; allows translating keys to text
_menu Coredna\Kernel\Helper\Response\Menu Menu helper; provides easy access to DXP defined menus
Retrieve a list of records and assign them to the template.
showPost

GET /webblogs/{blog.slug}/{slug}

blog.slug ^(?:[\w\-]*[a-zA-Z0-9\x7f-\xff]+)+[\w]*$
slug ^(?:[\w\-]*[a-zA-Z0-9\x7f-\xff]+)+[\w]*$
Name Type Description
post Post Single Post record
_messages Coredna\Kernel\Helper\Response\Messages Messages helper; used to retrieve messages from the controller
_currentSite Site Current site
_url Coredna\Kernel\Helper\Url URL helper; used to generate urls
_request Coredna\Kernel\Helper\Response\Request Current HTTP request
_configuration Coredna\Kernel\Helper\Response\Configuration Configuration helper; provides access to the site's configuration
__ Coredna\Kernel\Helper\Translator Translation helper; allows translating keys to text
_menu Coredna\Kernel\Helper\Response\Menu Menu helper; provides easy access to DXP defined menus
Show a single record