Reviews

Reset a review (Admin only)

Transitions the review back to pending status and clears reviewed_by and reviewed_at fields

post/v1/reviews/reset

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 Smith"
}

Response

Review reset successfully

status'pending'

Example response

{
  "status": "pending"
}

Changes

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