Guild announcements#
GET /api/guilds/{guild_id}/announcements/pending#
List pending guild announcements
Returns Discord-queued announcements not yet posted, 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 pending announcements.
Model: PendingAnnouncementsPage
Field |
Type |
Required |
Description |
|---|---|---|---|
|
array of PendingAnnouncement |
yes |
POST /api/guilds/{guild_id}/announcements/{announcement_id}/posted#
Mark a guild announcement as posted
Records that an announcement posted to Discord with the given message ID. Returns 404 for any guild_id other than the SideQuest server, or an unknown announcement_id.
Parameters
Name |
In |
Type |
Required |
Description |
|---|---|---|---|---|
|
path |
integer |
yes |
The Discord server ID. Only the SideQuest server works. |
|
path |
string (uuid) |
yes |
The announcement’s ID. |
Request body
Model: AnnouncementPosted
Field |
Type |
Required |
Description |
|---|---|---|---|
|
integer |
yes |
Response 200 — The announcement’s posted state.
Model: AnnouncementPostedResult
Field |
Type |
Required |
Description |
|---|---|---|---|
|
integer |
yes |