command

Flag Review

Command issued by a customer or moderator to flag a published review for re-moderation.

CommandBroker:Kafka

Overview

FlagReview is sent to the Review APIReview APIServicev1.0.0The public-facing API for product reviews. Accepts review submissions, serves published reviews, and is the entry point ...Publishesreview-submitted, review-flagged +1Subscribessubmit-review, flag-review +2Ownerreviews-platformMapRepoView docs when someone reports a published review as inappropriate. The API records the flag and publishes Review FlaggedReview FlaggedEventv1.0.0Published when a published review is flagged and needs to be screened again. Ownerreviews-platformSchemaMapView docs so the review can be screened again.

Architecture diagram

Event-driven architecture documentation: Acme Inc

JSON Schema

5 properties
reviewIdstring<uuid>
required
flaggedBystring
required

Customer or moderator id raising the flag.

reasonstring
required
Allowed values: spam abuse off_topic inappropriate other
notesstring
Max length: 1000
flaggedAtstring<date-time>
required