List automatic roles
GET
/api/settings/automatic-rolesEvery automatic role rule, oldest first.
Needs the ManageSettings permission.
AuthorizationBearer <token>
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/automatic-roles"{ "rules": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": null, "vrChatRoleId": null, "discordRoleId": null, "wholeTeam": true, "whoDiscordRoleIds": [ "string" ], "whoVRChatRoleIds": [ "string" ], "companionRunning": true, "clipsReady": true, "inGroupInstance": true, "minimumLevel": true, "minimumLevelPassedTrial": true, "minimumLevelStaffRoleId": null, "overturnedBans": true, "overturnedBansMax": null, "overturnedBansDays": null, "dailyBanCap": true, "dailyBanCapMax": null, "missedClips": true, "missedClipsMax": null, "missedClipsDays": null, "takeBackUserIds": [ "de2d6ce0-69d9-44fe-98c1-ebd39ce82ebe" ], "createdAt": "2019-08-24T14:15:22Z", "updatedAt": "2019-08-24T14:15:22Z" } ]}Update which actions ask for a clip PUT
Save which of bans, kicks and warnings ask the moderator's companion for a clip. Actions taken before the change are not asked about. Needs the `ManageSettings` permission.
Add automatic role POST
Add a rule. It needs a VRChat role or a Discord role, and at least one condition switched on. Needs the `ManageSettings` permission.