List Discord routes
/api/discord/routesEvery route, in list order, with the event types that may be chosen (grouped, labelled), the group's VRChat roles as last read, Modbot's roles, and names for the people routes already name.
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/discord/routes"{ "routes": [ { "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "name": null, "channelId": "string", "enabled": true, "eventTypes": [ "string" ], "subjectIds": [ "string" ], "subjectDiscordIds": [ "string" ], "actorIds": [ "string" ], "actorDiscordIds": [ "string" ], "actorAutomatic": true, "subjectVRChatRoleIds": [ "string" ], "actorVRChatRoleIds": [ "string" ], "actorModbotRoleIds": [ "29fdf8c8-98dd-48d9-89e8-7382e935877c" ] } ], "eventGroups": [ { "name": "string", "types": [ { "type": "string", "label": "string" } ] } ], "vrChatRoles": [ { "id": "string", "name": "string" } ], "modbotRoles": [ { "id": "string", "name": "string" } ], "people": [ { "id": "string", "name": null, "pictureUrl": null, "platform": "vrchat" } ]}List Discord roles GET
The Discord server's roles and whether the bot could hand each out. Needs Change settings, or See calendar with Manage calendar or Manage templates, because the event form picks a role to mention.
Add Discord route POST
Start sending events to a channel. A channel and at least one event type are needed. Sending starts from the moment it is saved; nothing that happened before is posted. Needs the `ManageSettings` permission.