Comment
Requires access scope or
access scope.
A comment on an article.
Anchor to Fields and connectionsFields and connections
- Anchor to articlearticle•
The article associated with the comment.
- Anchor to authorauthor•Comment
Author! non-null The comment’s author.
- Anchor to bodybody•String!non-null
The content of the comment.
- Anchor to bodyHtmlbody•
Html HTML!non-null The content of the comment, complete with HTML formatting.
- Anchor to createdAtcreated•
At DateTime! non-null The date and time when the comment was created.
- Anchor to eventsevents•Event
Connection! non-null The paginated list of events associated with the host subject.
- •ID!non-null
A globally-unique ID.
- •
The IP address of the commenter.
- Anchor to isPublishedis•
Published Boolean!non-null Whether or not the comment is published.
- Anchor to publishedAtpublished•
At The date and time when the comment was published.
- Anchor to statusstatus•Comment
Status! non-null The status of the comment.
- Anchor to updatedAtupdated•
At The date and time when the comment was last updated.
- Anchor to userAgentuser•
Agent The user agent of the commenter.
Map
Fields and connections with this object
Anchor to QueriesQueries
- •query
Returns a Comment resource by ID.
- •query
List of the shop's comments.
Anchor to MutationsMutations
- •mutation
Approves a comment.
- •mutation
Marks a comment as not spam.
- •mutation
Marks a comment as spam.