blogPostConnection
Fetch blog posts
blogPostConnection(
filter: BlogPostFilter
sort: BlogPostSort
first: Int! = 30
after: String
offset: Int = 0
): BlogPostConnection
Arguments
filter ● BlogPostFilter
Manage what data you will get.
sort ● BlogPostSort
Sort the blog posts by
first ● Int!
How many blog posts will be fetched. (default: 30, max: 200)
after ● String
Cursor based pagination. The ID, in this case blog post ID, of the last item on the previous page.
offset ● Int
Offset based pagination for the products fetched. (default: 0). Does not work with cursor based pagination "after".
Type
BlogPostConnection
Representation of paginated list of blog posts