Create Report
Report Endpoints
Create Report
Submit a content report for an entity or comment
POST
Create Report
Submits a report on an entity or comment. If a report already exists for the target, the authenticated user’s report is added to it (increments
Returns
Returns
The error message reflects the reported type, e.g.
reporterCount). If the same user has already reported the same target, a 200 is returned without creating a duplicate.
Authentication required.
Body Parameters
The UUID of the entity or comment being reported.
The type of content being reported. One of:
entity, comment.The reason for the report (e.g., “spam”, “harassment”, “misinformation”). Must not be empty.
Optional additional context or description provided by the reporter.
Response
Returns201 Created when a new report is created:
200 OK when an existing report is updated with a new reporter:
200 OK when the user has already reported this target:
Error Responses
Target Not Found — 404
Target Not Found — 404
"entity not found" or "comment not found".
