POST
ToggleHelpful
Toggle Helpful through the Review service.
/api.v1.review.ReviewService/ToggleHelpful Bearer required01
Request
ToggleReviewHelpfulRequest
ToggleReviewHelpfulRequestapi.v1.review.ToggleReviewHelpfulRequest1 fields
Toggle Review Helpful Request message.
reviewIduint32Review Id value.
{
"reviewId": 1
}02
Response
ToggleReviewHelpfulResponse
ToggleReviewHelpfulResponseapi.v1.review.ToggleReviewHelpfulResponse2 fields
Toggle Review Helpful Response message.
isHelpfulboolIs Helpful value.
helpfulCountint32Helpful Count value.
{
"isHelpful": true,
"helpfulCount": 1
}03
Error handling
Common failure codes
unauthenticatedThe Bearer token is missing or invalid.
invalid_argumentThe request payload failed validation.
internalThe service could not complete the operation.