GetRelationshipsByBot

GET /bot/clans/{discordid}/relationships

Return the list of relationships for the clan

Path parameters

  • discordid string Required

Responses

  • 200 application/json

    Default Response

    Hide response attributes Show response attributes object
    • leaderid string Required
    • id integer Required
    • typed integer Required
    • flagcolor string Required
    • name string Required
    • symbol string Required
  • 400 application/json

    Bad Request

    Bad Request

  • 401 application/json

    Unauthorized

    Unauthorized

  • 503 application/json

    Service Unavailable

    Service Unavailable

GET /bot/clans/{discordid}/relationships
curl \
 --request GET 'http://api.example.com/bot/clans/{discordid}/relationships' \
 --header "apiKey: $API_KEY"
Response examples (200)
[
  {
    "leaderid": "string",
    "id": 42,
    "typed": 42,
    "flagcolor": "string",
    "name": "string",
    "symbol": "string"
  }
]
Response examples (400)
string
Response examples (401)
string
Response examples (503)
string