Frontend | Backend | Api

Blogs routes (Frontend)

Name Request Response variables Description
listBlogs

GET /blogs/{page}

page \d+
Name Type Description
blogs Collection (Blog) Collection of Blogs
Retrieve a list of records and assign them to the template.
listTagsPosts

GET /blogs/{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
Retrieve a list of records and assign them to the template.
listCategoriesPosts

GET /blogs/{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
Retrieve a list of records and assign them to the template.
listPosts

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

blog.slug ^(?:[\w\-]*[a-zA-Z0-9\x7f-\xff]+)+[\w]*$
page \d+
Name Type Description
posts Collection (Post) Collection of Posts
Retrieve a list of records and assign them to the template.
showPost

GET /blogs/{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
Show a single record