Roster sync#
GET /api/guilds/{guild_id}/characters/milestones/pending#
List milestones to post
Returns the level 40 and 60 milestones the bot has not posted to Discord yet, oldest first. Returns 404 for any guild_id other than the SideQuest server.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
integer |
yes |
The Discord server ID. Only the SideQuest server works. |
Response 200 — The milestones still to post.
Model: array of CharacterMilestoneSchema
Type: array of CharacterMilestoneSchema
POST /api/guilds/{guild_id}/characters/milestones/{milestone_id}/posted#
Mark a milestone as posted
Records that the bot posted a milestone to Discord, so it stops coming back as pending. Returns 404 for an unknown milestone, or any guild_id other than the SideQuest server.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
integer |
yes |
The Discord server ID. Only the SideQuest server works. |
|
path |
string (uuid) |
yes |
The milestone’s ID. |
Request body
Model: MilestonePosted
Field |
Type |
Required |
Description |
|---|---|---|---|
|
integer | null |
no |
Response 204 — The milestone is marked as posted.
POST /api/guilds/{guild_id}/characters/sync#
Sync the roster from Battle.net
Reads the guild roster from Battle.net: stores new members, marks members who left, updates ranks and levels, matches addon characters to their Battle.net characters by name, and refreshes up to eight character profiles older than six hours, roster first. Safe to call repeatedly. Returns 404 for any guild_id other than the SideQuest server, and 503 if Battle.net is not configured or did not answer.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
integer |
yes |
The Discord server ID. Only the SideQuest server works. |
Response 200 — What the sync changed.
Model: RosterSyncReport
Field |
Type |
Required |
Description |
|---|---|---|---|
|
integer |
yes |
|
|
array of string |
yes |
|
|
array of string |
yes |
|
|
integer |
yes |
|
|
integer |
yes |
|
|
integer |
yes |
|
|
integer |
no |