Report

Create a report

post/report

Request

  • Base URL
    https://api.fanheroapi.com
  • URL
    https://api.fanheroapi.com/report
  • Auth
    API key in header apiKey

Headers

organizationstring required

The URL of the end-user web application

Request body

descriptionstring

The text of the report entered by the reporting user

idReportedstring required

The ID of the entity being reported

reasonstring required

The reason why the user submits this report

type'COMMENT' | 'POST' | 'USER' required

Identifies what is being reportd. Enum

Example request

{
  "description": "this is a description",
  "idReported": "622946e960c4717a9f92dab7",
  "reason": "this is the reason of report",
  "type": "COMMENT"
}

Response

Report created.

Changes

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