Blog
Represents a blog object, including its articles and related information.
Type Definition
type Blog {
name: String
commentsAreEnabled: Boolean
commentsRequireAccount: Boolean
commentsRequireApproval: Boolean
}Fields
| Field | Type | Description |
|---|---|---|
| name | String | The name of the blog. |
| commentsAreEnabled | Boolean | Whether commenting is enabled for this blog. |
| commentsRequireAccount | Boolean | Whether commenting requires a customer account. |
| commentsRequireApproval | Boolean | Whether 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.