Updated reviews samples for messaging GA

This commit is contained in:
Daniel
2021-10-18 17:43:45 +02:00
committed by Daniel Hutzel
parent 5f89334403
commit 404427237b
12 changed files with 83 additions and 12 deletions

View File

@@ -8,10 +8,11 @@ service ReviewsService {
action unlike (review: type of Reviews:ID);
// Async API
event reviewed : {
subject: type of Reviews:subject;
rating: Decimal(2,1)
}
event reviewed : {
subject : type of Reviews:subject;
count : Integer;
rating : Decimal;
}
// Input validation
annotate Reviews with {