GetDiscordConfig

GET /clans/{clanid}/discordbot/

Return the bot configuration

Path parameters

  • clanid integer Required

Responses

  • 200 application/json

    Default Response

    Hide response attributes Show response attributes object
  • 400 application/json

    Bad Request

    Bad Request

  • 401 application/json

    Unauthorized

    Unauthorized

  • 404 application/json

    Not Found

    Not Found

  • 405 application/json

    Method Not Allowed

    Method Not Allowed

  • 503 application/json

    Service Unavailable

    Service Unavailable

GET /clans/{clanid}/discordbot/
curl \
 --request GET 'http://api.example.com/clans/{clanid}/discordbot/' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "discordid": "string",
  "botLanguaje": "en",
  "readClanLog": true,
  "automaticKick": true,
  "setNotReadyPVP": true,
  "walkerAlarm": true
}
Response examples (400)
string
Response examples (401)
string
Response examples (404)
string
Response examples (405)
string
Response examples (503)
string