User

Gets a QR code for the currently authenticated user

Required role: USER

You should fetch this QR code every 15 seconds, as it expires every 20 seconds.

get/user/qr/

Request

  • Base URL: https://adonix.hackillinois.org
  • URL: https://adonix.hackillinois.org/user/qr/
  • Auth: none declared

Response

The currently authenticated user's QR code

userIdstring required

Id of a specific user. Can start with github or google.

qrInfostring required

QR code URI for the user

Example response

{
  "userId": "github1234",
  "qrInfo": "hackillinois://user?userToken=abcd"
}

Changes

No recorded changes to this operation across all 1 revision of this API.