Skip to Content

Blog

Represents a blog object, including its articles and related information.

Type Definition

type Blog { name: String commentsAreEnabled: Boolean commentsRequireAccount: Boolean commentsRequireApproval: Boolean }

Fields

FieldTypeDescription
nameStringThe name of the blog.
commentsAreEnabledBooleanWhether commenting is enabled for this blog.
commentsRequireAccountBooleanWhether commenting requires a customer account.
commentsRequireApprovalBooleanWhether comments require approval for this blog.

Relationships

The Blog type is used by the blog query to retrieve blog information. It is also referenced through the Article type, where each article is associated with a parent blog object via the blog field.

Example

query { blog { name commentsAreEnabled commentsRequireAccount commentsRequireApproval } }

Implements

This type does not implement any interfaces.