Skip to main content
POST
Apply a fix

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

guild_id
string
required

The server's ID. Must be the server the token was created for.

Pattern: ^\d{17,20}$
Example:

"301655085954367490"

Query Parameters

bot
enum<string>

Set to pro to act on the Quark Pro bot's configuration. Leave out for the main Quark bot.

Available options:
pro

Body

application/json

An automatic fix. Take it from the fix field of a finding in the troubleshooting report.

kind
enum<string>
required
Available options:
initialise_guild,
register_webhook,
clear_log_channel,
enable_log_type,
remove_ignore,
disable_bot_ignore
automatic
boolean

True if this endpoint can apply the fix. A fix with automatic: false has to be done by hand and is rejected.

category
enum<string>

For register_webhook and clear_log_channel.

Available options:
mainChannel,
modlogCategory,
membersCategory,
actionsCategory,
textCategory,
voiceCategory,
filesCategory,
serverCategory,
rolesCategory,
channelsCategory,
quarkCategory
channelId
string

For register_webhook.

logType
integer

For enable_log_type.

ignoreType
integer

For remove_ignore.

value
string

For remove_ignore.

scope
enum<string>

For disable_bot_ignore.

Available options:
executors,
targets

Response

The fix was applied.

applied
boolean