xmb.api.v1.NotificationDiscordService
NotificationDiscordService makes and manages the guild tie and the account link. The messages the tie exists for happen server-side off the event pipeline; the one send here is the test button, which exists because "the exact error Discord returned" is the only permission validator an admin can act on.
postBegin Discord account link
Returns the Discord authorisation URL that links the caller's Discord identity for DM delivery. **Required scopes:** `xmb:user:write`
postBegin Discord guild connect
Returns the Discord authorisation URL that adds the platform bot to a guild for this server. **Required scopes:** `xmb:admin`
postDisconnect Discord account
Removes the caller's Discord account link. **Required scopes:** `xmb:user:write`
postDisconnect Discord guild
Removes this server's Discord guild tie and channel routing. **Required scopes:** `xmb:admin`
postGet Discord integration
Returns this server's Discord guild tie: status, routed channels, and last delivery error. **Required scopes:** `xmb:admin`
postGet Discord link
Returns the caller's Discord account link status and linked username. **Required scopes:** `xmb:user:read`
postList Discord channels
Returns the guild's text channels the bot can post to, for channel selection. **Required scopes:** `xmb:admin`
postSend Discord test message
Posts a test message to the routed channel for the given audience. **Required scopes:** `xmb:admin`
postSet Discord enabled
Switches Discord notifications on or off for the caller. On links the Discord account on their Xeonr account for DM delivery (returning `authorize_url` to link one first when there is none); off removes the link. This is the consent — nothing links as a side effect of anything else. **Required scopes:** `xmb:user:write`
postUpdate Discord channels
Sets the admin and members channels for this server's Discord routing. **Required scopes:** `xmb:admin`
List node logs POST
Returns log lines shipped by the server's hubs and grabbers, filterable to one node, paged by a keyset cursor on the line id. **Required scopes:** `xmb:admin`
Begin Discord account link POST
Returns the Discord authorisation URL that links the caller's Discord identity for DM delivery. **Required scopes:** `xmb:user:write`