Skip to main content
GET
Get settings for log types

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"

log_id
integer
required

A log type ID. See the log types page.

Required range: 0 <= x <= 100

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

Response

One row per customised log type.

id
string

The server ID.

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

"301655085954367490"

log_type
integer

The log type ID. See the log types page.

Required range: 0 <= x <= 100
enabled
enum<integer>

0 if this log type is switched off.

Available options:
0,
1
log_channel
string | null

The channel this log type is sent to, or null to follow its category.

format_type
enum<integer> | null

Format override, or null to use the server-wide format.

Available options:
0,
2,
null
color
integer | null

Embed colour as an integer RGB value, or null for the default.

Example:

16711748

ignore_bot_executors
enum<integer> | null

1 or 0 to override the server-wide Bot Executors setting for this type, or null to follow it.

Available options:
0,
1,
null
ignore_bot_targets
enum<integer> | null

1 or 0 to override the server-wide Bot Targets setting for this type, or null to follow it.

Available options:
0,
1,
null
active_ignore
enum<integer> | null

Reserved.

Available options:
0,
1,
null
log_channel_webhook_id
string | null

ID of the webhook Quark uses for this log type's own channel.

log_channel_webhook_token
string | null

Token of that webhook. Treat it as a secret.