User

Gets a QR code for the specified user

Required role: STAFF

This is staff-only since you can get ANY user's QR code with this endpoint. If you want to get the currently authenticated user's QR code, use GET /user/qr.

get/user/qr/{id}/

Request

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

Path parameters

idstring required

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

Example:github1234

Response

The specified 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.