g
Frontend | Backend | Api

Blogs routes

Name Request Response variables Description
addBlog

GET /cdna-admin/blogs/add-blog

Name Type Description
blog Blog Single (empty) Blog 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
_validation Coredna\Kernel\Helper\Validation Validation helper; allows displaying error messages from validation errors
Add a new record. Assigns an empty record to the template.
editBlog

GET /cdna-admin/blogs/blog/{id}

id \d+
Name Type Description
blog Blog Retrieved Blog 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
_validation Coredna\Kernel\Helper\Validation Validation helper; allows displaying error messages from validation errors
Retrieve a single record and display the edit page for the record
manageBlogs

GET /cdna-admin/blogs/blogs

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
_validation Coredna\Kernel\Helper\Validation Validation helper; allows displaying error messages from validation errors
Retrieve available records and assign them to the template for editing.
addPost

GET /cdna-admin/blogs/add-post/{blog.id}

blog.id \d+
Name Type Description
post Post Single (empty) 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
_validation Coredna\Kernel\Helper\Validation Validation helper; allows displaying error messages from validation errors
Add a new record. Assigns an empty record to the template.
managePosts

GET /cdna-admin/blogs/posts/{blog.id}

blog.id \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
_validation Coredna\Kernel\Helper\Validation Validation helper; allows displaying error messages from validation errors
Retrieve available records and assign them to the template for editing.
comparePostRevisions

GET /cdna-admin/blogs/post-revisions/{post.id}/{baseRevision}/{otherRevision}

post.id \d+
baseRevision \d+
otherRevision \d+
Name Type Description
_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
_validation Coredna\Kernel\Helper\Validation Validation helper; allows displaying error messages from validation errors
post Post Post for which revisions are compared
baseRevision PostRevision Base revision
otherRevision PostRevision Other revision for comparison
baseLayout Layout Layout the base revision uses
otherLayout Layout Layout the other revision uses
Show comparison of post revisions
addComment

GET /cdna-admin/blogs/add-comment/{post.id}

post.id \d+
Name Type Description
comment Comment Single (empty) Comment 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
_validation Coredna\Kernel\Helper\Validation Validation helper; allows displaying error messages from validation errors
Add a new record. Assigns an empty record to the template.
editComment

GET /cdna-admin/blogs/comment/{id}

id \d+
Name Type Description
comment Comment Retrieved Comment 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
_validation Coredna\Kernel\Helper\Validation Validation helper; allows displaying error messages from validation errors
Retrieve a single record and display the edit page for the record
manageComments

GET /cdna-admin/blogs/comments/{post.id}

post.id \d+
Name Type Description
comments Collection (Comment) Collection of Comments
_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
_validation Coredna\Kernel\Helper\Validation Validation helper; allows displaying error messages from validation errors
Retrieve available records and assign them to the template for editing.