Get list builder
/api/lists/builderThe rule kinds and the roles a list's rules can name.
Needs the ManageLists 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/lists/builder"{ "ruleKinds": [ "string" ], "weightings": [ "string" ], "trustRanks": [ "string" ], "groupRoles": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "listId": "9fc6ad7d-902a-4834-b161-a4911b883d44", "listName": "string", "discordRoleId": "string", "roleName": null, "enabled": true, "given": 0, "problem": null, "stoppedAt": null, "stoppedTaking": null, "removalsAllowed": null } ], "discordRoles": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "listId": "9fc6ad7d-902a-4834-b161-a4911b883d44", "listName": "string", "discordRoleId": "string", "roleName": null, "enabled": true, "given": 0, "problem": null, "stoppedAt": null, "stoppedTaking": null, "removalsAllowed": null } ], "moderationFactRetentionDays": 0, "presenceFactRetentionDays": 0}Add list POST
Save a list: a name and the rules that decide who is in it. Needs the `ManageLists` permission.
Preview list rules POST
Who a rule tree lets through right now, and the first page of them. Figures counted from presence reports are close rather than exact; `fromPolledData` says when that is so, and `closeCalls` counts the people near a threshold. A rule reaching further back than the facts Modbot still keeps comes back in `unanswerable` instead of an answer. Needs the `ViewMembers` and `ViewProfile` and `ManageLists` permissions.