Blog

Queries

Queries available for implementation in blog connector apps

Canonical queries define the data-fetching contract between the frontend and your connector app. When you build a blog connector, you implement query handlers for each of these queries so the frontend can retrieve posts and collections from your CMS or blog backend.

Import these from @laioutr-core/canonical-types/blog.

Post

No query metadata found for blog/post/all. Did you mean blog/post/by-slug?

PostBySlugQuery

blog/post/by-slug
BlogPost single
Blog post by slug
slug
stringrequired

Collection

CollectionAllQuery

blog/collection/all
Blog collections

CollectionBySlugQuery

blog/collection/by-slug
Blog collection by slug
slug
stringrequired

Entities