Configuration

Get the whole configuration

Changed on

Returns 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

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.

serverlogConfigChannelWebhooksobject[] nullable

The ID and token of the webhook Quark uses in each log channel. Treat these as secrets.

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

    • breaking

      the // response property's max was increased from 108.00 to 112.00 for the response status