Frontend | Backend | Api

Blogs routes (Frontend)

Name Request Response variables Description
listPosts

GET /blog/{page}

page \d+
Name Type Description
posts Collection (Post) Collection of Posts
Retrieve a list of records and assign them to the template.
listTagsPosts

GET /blog/tags/{tags}/{page}

tags ^[\w\-]*[a-zA-Z0-9\x7f-\xff]+[\w\-]*([\+,][\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.
listCategoriesPosts

GET /blog/categories/{categories}/{page}

categories ^[\w\-]*[a-zA-Z0-9\x7f-\xff]+[\w\-]*([\+,][\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 /blog/{slug}

slug ^(?:[\w\-]*[a-zA-Z0-9\x7f-\xff]+)+[\w]*$
Name Type Description
post Post Single Post record
Show a single record