v1

latestOpenAPI 3.0.02026-07-24212113249.1 KB
Report

Create a report

post/report

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.