Skip to main content

Flagged Contribution

{
"contribution_type": "string",
"contribution": {
"id": "integer",
"author": "{ModerationUser}",
"added_at": "string",
"categories": [],
"title": "string",
"html": "string",
"summary": "string",
"deleted": "boolean",
"collapsed": "boolean",
"parent": "integer",
"in_reply_to": "integer",
"comment_count": "integer",
"vote_count": "integer",
"reactions_count": [],
"flag_count": "integer",
"flag_count_detail": {
"1": "integer",
"2": "integer",
"3": "integer",
"4": "integer",
"0": "integer"
},
"media_count_detail": {},
"share_count": "integer",
"has_poll": "boolean",
"thread_id": "integer",
"thread_type": "string",
"thread_slug": "string"
},
"last_flagged_at": "string",
"moderation_status": "string",
"moderation_type": "string",
"moderation_by": {},
"moderation_at": "string"
}

Properties

NameTypeRequiredRestrictionsDescription
contribution_typestringtruenonepost, discussion, status or comment
contributionPost, Discussion, Status or Commenttruenonethe contribution
last_flagged_atstring(date-time)truenonedate time of the last flag
moderation_statusstringtruenonemoderation status
moderation_typestringfalsenonecause of the moderation
moderation_byUserfalsenonemoderator
moderation_atstring(date-time)truenonedate time of the moderation

Enumerated Values

PropertyValue
contribution_typediscussion
contribution_typepost
contribution_typecomment

Enumerated Values

PropertyValue
moderation_statusignored
moderation_statusdeleted
moderation_statushidden

Enumerated Values

ParameterValueDescription
moderation_type0spam
moderation_type1aggressive
moderation_type2vulgar
moderation_type3poor
moderation_type4offtopic

Field media_count_detail possible keys

Key
url
embed
image
eimage
doc
share