POST announcement/edit
Edit an existing announcement on Network platforms.
Note
This is a privileged endpoint. Only authorised queries will be processed.
Parameters
actioningUser
string
User initiating the action.
announcementId
optional integer
Unique identifier for a specific announcement.
enabled
optional boolean
1 if the announcement is enabled, 0 if disabled.
announcementType
optional string
Type of announcement (web, tip, motd).
body
optional string
Updated content of the announcement.
colourMessageFormat
optional string
Updated color format for the message.
link
optional string
Updated link associated with the announcement.
Examples
- Typical
- Missing announcementSlug
{
"announcementSlug": "missing-announcementSlug",
"body": "Join our community Discord",
"motd": false,
"tips": true,
"web": false,
"link": "https://craftingforchrist.net/discord"
}
Response
{
"success": false
}
TODO