Skip to main content

Flag

No description

type Flag {
id: ID!
flagger: User
comment: Comment!
revision: CommentRevision
reason: COMMENT_FLAG_REASON
additionalDetails: String
reviewed: Boolean!
createdAt: Time!
reportID: String
}

Fields​

Flag.id ● ID! non-null scalar ​

id is the identifier for this flag action.

Flag.flagger ● User object ​

flagger is the User that created the Flag. If this is null, then the system created the Flag.

Flag.comment ● Comment! non-null object ​

comment is the comment this flag was created on.

Flag.revision ● CommentRevision object ​

revision is the comment revision this flag was generated upon.

Flag.reason ● COMMENT_FLAG_REASON enum ​

reason is the selected reason why the Flag is being created. If the reason is not defined, or existed from a previous version of Coral, it will return null to avoid errors.

Flag.additionalDetails ● String scalar ​

additionalDetails stores information from the User as to why the Flag was created or is relevant.

Flag.reviewed ● Boolean! non-null scalar ​

reviewed is whether this flag reason and details have been reviewed by a moderator.

Flag.createdAt ● Time! non-null scalar ​

createdAt is when this flag was created.

Flag.reportID ● String scalar ​

reportID is the id of the DSAReport that was created when the comment was flagged as potentially containing illegal content. Only exists for illegal content flag type.

Member Of​

FlagEdge object ● FlagsConnection object ● ReviewCommentFlagPayload object