Configuration
Get server settings
Changed onReturns the server's language setting.
get/servers/{guild_id}/config/settings
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
One row.
Example response
[
{
"id": "301655085954367490"
}
]Changes
- breaking
added the pattern
^\d{17,20}$to thepathrequest parameterguild_id - info
api operation id
getSettingswas added - info
api tag
Configurationadded - info
api tag
Configremoved - info
added the new optional
queryrequest parameterbot - info
added the media type
application/jsonfor 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
- breaking
- info
endpoint added
- info