Get flag rules
/api/settings/flag-rulesThe rules that make a person Flagged on the companion and the Live page.
Needs the ManageSettings permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Response Body
application/json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/settings/flag-rules"{ "kicksAndBans": true, "liftedBansForDays": null, "warns": true, "warnsAtLeast": 0, "nuisance": true, "autoMod": true, "everyAutoModRule": true, "autoModRules": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "kind": "string", "name": "string", "counts": true } ]}Update repeat offender rules PUT
Change the threshold or the kinds of action that count. Both are rules the standings are computed under, so every person's counts are rebuilt from the fact log before this answers. Needs the `ManageSettings` permission.
Update flag rules PUT
Change which rules make a person Flagged. `warnsAtLeast` is 1 to 99. `liftedBansForDays` is 1 to 3650, or null for a lifted ban to count always. With `everyAutoModRule` false, only the flags of the rules in `autoModRules` count. A watch on a person always counts and has no setting here. Needs the `ManageSettings` permission.