add
Report
add
Add Report
This endpoint allows users to add a report for a specific review.
Request Body
review(string): The ID of the review being reported.reporter(string): The ID of the user reporting the review.reason(string): The reason for reporting the review.
Response
The response will be a JSON object with the following schema:
{
"data": {
"report": {
"review": "",
"reporter": "",
"reason": "",
"isResolved": true,
"_id": "",
"createdAt": "",
"updatedAt": "",
"__v": 0
}
},
"error": null
}
POST
add