GetUser

GET /users/

Returns a user information

Responses

  • 200 application/json

    Default Response

    Hide response attributes Show response attributes object
    • nickname string
    • discordtag string Required
    • discordid string Required
    • clanid integer
    • clanname string
    • leaderid string
    • serverdiscord string
  • 401 application/json

    Unauthorized

    Unauthorized

  • 503 application/json

    Service Unavailable

    Service Unavailable

GET /users/
curl \
 --request GET 'http://api.example.com/users/' \
 --header "Authorization: Bearer $ACCESS_TOKEN"
Response examples (200)
{
  "nickname": "string",
  "discordtag": "string",
  "discordid": "string",
  "clanid": 42,
  "clanname": "string",
  "leaderid": "string",
  "serverdiscord": "string"
}
Response examples (401)
string
Response examples (503)
string