v1

latestSwagger 2.0Apache 2.02026-07-17311564.3 KB
info

Returns user info

Returns user info based on userId

get/api/info/user

Query parameters

valuestring

username

Headers

Authorizationstring required

Bearer

Response

OK

emailstring
idinteger
rankinteger
rolestring
scoreinteger
statusinteger
usernamestring

Example response

{
  "challenges": [
    {
      "category": "web",
      "id": 4,
      "name": "Web Challenge",
      "points": 50
    }
  ],
  "email": "fristonio@gmail.com",
  "id": 5,
  "rank": 15,
  "role": "author",
  "score": 750,
  "username": "CTF is live now!"
}