FIREANIME API
Browse API97 operations
POST

ToggleHelpful

Toggle Helpful through the Review service.

/api.v1.review.ReviewService/ToggleHelpful Bearer required
01

Request

ToggleReviewHelpfulRequest

ToggleReviewHelpfulRequestapi.v1.review.ToggleReviewHelpfulRequest1 fields

Toggle Review Helpful Request message.

reviewId
uint32

Review Id value.

Request JSON
{
  "reviewId": 1
}
02

Response

ToggleReviewHelpfulResponse

ToggleReviewHelpfulResponseapi.v1.review.ToggleReviewHelpfulResponse2 fields

Toggle Review Helpful Response message.

isHelpful
bool

Is Helpful value.

helpfulCount
int32

Helpful Count value.

Example response
{
  "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.