Configuration
Get the whole configuration
Changed onReturns every part of the server's Quark configuration in one response.
The response includes the credentials of the webhooks Quark posts logs through, and the server's API token records. Treat it as sensitive.
get/servers/{guild_id}/config
Request
- Base URLhttps://quark.bot/api
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
guild_idstring required
Example:301655085954367490
The server's ID. Must be the server the token was created for.
Query parameters
bot'pro'
Set to pro to act on the Quark Pro bot's configuration. Leave out for the main Quark bot.
Response
The configuration.
Example response
{
"guilds": [
{
"id": "301655085954367490"
}
],
"serverlogConfigChannels": [
{
"id": "301655085954367490"
}
],
"serverlogConfigCustomOptions": [
{
"id": "301655085954367490",
"color": 16711748
}
],
"serverlogConfigIgnoreStandard": [
{
"id": "301655085954367490"
}
],
"serverlogConfigOptions": [
{
"id": "301655085954367490"
}
],
"settingsConfig": [
{
"id": "301655085954367490"
}
],
"tags": [
{
"id": "301655085954367490",
"tag_id": "a1B2c3D4e5"
}
],
"quarkApiTokens": [
{
"id": "301655085954367490",
"creator": "301655085954367490"
}
]
}Changes
- info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status - info
added the optional property
//to the response with the status
- info
- breaking
the
//response property's max was increased from108.00to112.00for the response status
- breaking