Blog
Represents a blog object, including its articles and related information.
Type Definition
type Blog {
name: String
commentsAreEnabled: Boolean
commentsRequireAccount: Boolean
commentsRequireApproval: Boolean
metafields: [Metafield]!
metafield: Metafield
}Fields
Relationships
The Blog type is used to represent blog data within the storefront API. It contains metafield information through the metafields and metafield fields, which reference the Metafield type. Blogs can be queried directly via the blog query and are also accessible through the Article type via the blog field.
Example
{
blog(handle: "announcements") {
name
commentsAreEnabled
commentsRequireAccount
commentsRequireApproval
metafields(first: 10) {
edges {
node {
namespace
key
value
}
}
}
}
}Implements
None