Moderation
User-initiated content reports.
Clients can file a report on any content type + id; the row lands in moderation_queue with status = 'pending' where admins resolve it via /admin/moderation/queue/:itemId/{approve,reject,escalate}.
Source: apps/api/src/routes/client/moderation.ts.
Endpoints
| Method | Path | Description |
|---|---|---|
| POST | /client/moderation/report | File a report. |
| GET | /client/moderation/reports | Caller's own reports. |
POST /client/moderation/report
Request (ReportContentInput)
| Field | Type | Required |
|---|---|---|
content_type | string | yes |
content_id | string | yes |
reason | string | no |
Response 201
Errors
500 CREATE_FAILED.
Try it:
POST
client auth/client/moderation/reportcurl -X POST 'https://api.amba.dev/client/moderation/report'Loading auth… Configure auth in the settings drawer (top-right) to run this request.
Curl:
GET /client/moderation/reports
Caller's own reports, newest first.
Response 200
Try it:
GET
client auth/client/moderation/reportscurl -X GET 'https://api.amba.dev/client/moderation/reports'Loading auth… Configure auth in the settings drawer (top-right) to run this request.
Curl: