Reviews

Accept a review (Admin only)

Transitions the review to accepted status and syncs the state to the reviewable entity

post/v1/reviews/accept

Request

  • Base URL
    https://api.hify.club
  • Auth
    API key in header X-User-Token

Request body

reviewable_typestring required

Type of the reviewable entity

reviewable_idinteger required

ID of the reviewable entity

reviewed_bystring required

Name or identifier of the person reviewing

Example request

{
  "reviewable_type": "PlayMoment",
  "reviewable_id": 42,
  "reviewed_by": "jane@test.xyz"
}

Response

Review accepted successfully

status'accepted'

Example response

{
  "status": "accepted"
}

Changes

No recorded changes to this operation across all 1 revision of this API.