Configuration

Get the server record

Changed on

Returns Quark's record for the server.

get/servers/{guild_id}/config/guilds

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

One row.

idstring

The server ID.

owner_idstring nullable

The server owner's user ID.

warningsstring

Internal bitfield of configuration warnings.

first_log_atinteger nullable

When the first log was delivered to this server, as a Unix timestamp in seconds.

Example response

[
  {
    "id": "301655085954367490"
  }
]

Changes

    • breaking

      added the pattern ^\d{17,20}$ to the path request parameter guild_id

    • info

      api operation id getGuild was added

    • info

      api tag Configuration added

    • info

      api tag Config removed

    • info

      added the new optional query request parameter bot

    • info

      added the media type application/json for the response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      added the non-success response with the status

    • info

      endpoint added