Get Cloud status
/api/settings/cloudWhether this server reports to Modbot Cloud, and how the last report went. reportOn is the usage report switch; disabled is MODBOT_CLOUD_DISABLED, which stops the report whatever the switch says.
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/cloud"{ "disabled": true, "endpoint": "string", "registered": true, "lastReportAt": null, "lastReportOk": null, "lastReportProblem": null, "reportOn": true}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.
Set the usage report PUT
Turn the usage report to Modbot Cloud on or off. It is on when Modbot is installed. Off stops the report every six hours; the switches for sending Modbot's log and for listing public instances are separate. Writes a settings-changed entry to the audit log. Needs the `ManageSettings` permission.