Moderation Flags

Moderation flags.
Property Type Description Filter Group and Version Available Version
flagCount Integer If the context user is a community moderator, the total number of flags on the post, comment, or file. If the context user isn’t a community moderator, value is null.

Flags on files is available starting in version 30.0.

Small, 29.0 29.0
flagCount​ByReason Map<String, Integer> Number of moderation flags categorized by reason. Values for String are:
  • FlaggedByRule—Moderation rule flagged the item.
  • FlaggedBySystem—Einstein flagged the item.
  • FlaggedByUserAsInappropriate—User flagged the item as inappropriate.
  • FlaggedByUserAsSpam—User flagged the item as spam.
Small, 40.0 40.0
flaggedByMe Boolean Indicates whether the post, comment, or file was flagged by the context user (true) or not (false).

Flags on files is available starting in version 30.0.

Small, 29.0 29.0
flags Moderation Flags Collection Collection of flags. Small, 40.0 40.0