Get the yearly report
/api/appeals/reportOne calendar year (UTC days; the current year by default): warnings, instance kicks, removals from the group, bans and unbans, summed from the same daily totals the Team page uses, then the appeals received in the year and those upheld and turned down in it. countedSince is the first day Modbot has anything counted; a year starting before it is a partial year.
Needs the ViewProfile permission.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Query Parameters
int32Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
curl -X GET "https://example.com/api/appeals/report"{ "year": 0, "lines": [ { "key": "string", "label": "string", "count": 0 } ], "years": [ 0 ], "countedSince": null, "now": "2019-08-24T14:15:22Z"}Uphold or turn down an appeal POST
`outcome` is `upheld` or `turned-down`. Records the decision, who made it and when, once: an appeal that was decided cannot be decided again. Upholding does not unban anybody; lift the ban the usual way. Needs the `Unban` permission.
Download the yearly report GET
The yearly report for `year` as a CSV file, one row per number. Needs the `ViewProfile` permission.