Schema Documentation

UpdateCommentInput

Description

Input for the updateComment mutation.

Fields
Input FieldDescription
approved - String The approval status of the comment.
author - String The name of the comment's author.
authorEmail - String The email of the comment's author.
authorUrl - String The url of the comment's author.
clientMutationId - String This is an ID that can be passed to a mutation by the client to track the progress of mutations and catch possible duplicate mutation submissions.
commentOn - Int The database ID of the post object the comment belongs to.
content - String Content of the comment.
date - String The date of the object. Preferable to enter as year/month/day ( e.g. 01/31/2017 ) as it will rearrange date as fit if it is not specified. Incomplete dates may have unintended results for example, "2017" as the input will use current date with timestamp 20:17
id - ID! The ID of the comment being updated.
parent - ID Parent comment ID of current comment.
status - CommentStatusEnum The approval status of the comment
type - String Type of comment.
Example
{"approved":"xyz789","author":"xyz789","authorEmail":"abc123","authorUrl":"abc123","clientMutationId":"xyz789","commentOn":123,"content":"xyz789","date":"abc123","id":4,"parent":"4","status":"APPROVE","type":"xyz789"}