Report
Reporting a post or a comment is done via the following endpoint.
POST: https://api.scored.co/api/v2/action/report
Parameters
The following parameters are valid.
| Value | Type | Required | Description |
|---|---|---|---|
| target | string | true | id of target content |
| post | boolean | true | true (post) or false (comment) |
| reason | string | true | a valid report option¹ or "other" |
| customReason | string | false | a custom report reason, only if report option is "other" |
¹ Platform-wide report options are spam, platformMisuse, csam, illegalContent. Communities may have other options.
For clarify, if you are voting on a post, your type parameter should be true. If you are voting on a comment, the value should be false.
type should never be set to post or comment.