Anchor to Comment
objectComment
Requires access scope or
access scope.
A comment on an article.
Anchor to FieldsFields
- Anchor to articlearticle•Article
The article associated with the comment.
- •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•Date
At Time! 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.
- •String
The IP address of the commenter.
- Anchor to isPublishedis•Boolean!
Published non-null Whether or not the comment is published.
- Anchor to publishedAtpublished•Date
At Time The date and time when the comment was published.
- Anchor to statusstatus•Comment
Status! non-null The status of the comment.
- Anchor to updatedAtupdated•Date
At Time The date and time when the comment was last updated.
- Anchor to userAgentuser•String
Agent The user agent of the commenter.
Was this section helpful?
Anchor to QueriesQueries
- •query
Returns a Comment resource by ID.
- •query
List of the shop's comments.
Was this section helpful?
Anchor to MutationsMutations
- •mutation
Approves a comment.
- •mutation
Marks a comment as not spam.
- •mutation
Marks a comment as spam.
Was this section helpful?