Apply role from a list
/api/discord-list-roles/{id}/applyLet a list's role carry on after it stopped because it would take the role from many people at once, or give it to most of the server. taking, leaving and giving are what the preview showed; refused if more would go now. Nothing is sent from here: the next pass, within a minute, makes the changes, and the allowance shrinks as they are made.
Needs the ViewMembers and ViewProfile and RunDiscordSync permissions.
An API key, made on Settings, API keys. Every key starts with mbk_.
In: header
Path Parameters
uuidRequest Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/problem+json
application/problem+json
application/problem+json
application/problem+json
curl -X POST "https://example.com/api/discord-list-roles/497f6eca-6276-4993-bfeb-53cbbbba6f08/apply" \ -H "Content-Type: application/json" \ -d '{ "taking": 0 }'{ "on": true, "botCanManageRoles": true, "ranAt": null, "problem": null, "roles": [ { "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 } ], "lists": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": "string" } ], "canPreview": true, "canApply": true}Preview roles from lists POST
Who would be given a list's Discord role and who would lose it right now, and how many in the list have no linked Discord account or are not in the server. Changes nothing. One saved pairing by `id`, one not saved yet by `listId` and `discordRoleId`, or every pairing that is on. Needs the `ViewMembers` and `ViewProfile` and `ManageDiscordSync` permissions.
Get evidence settings GET
The configured evidence backend, its health, and what it is holding. Counts and bytes come from the blob record rather than from listing the store, because LIST is slow everywhere and billed on some providers. The S3 secret is never returned; secretStored says only whether one is on file.