Profile

Updates profile of the currently authenticated user

Required role: ATTENDEE

put/profile/

Request

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

Request body

discordTagstring
displayNamestring
dietaryRestrictionsstring[]
shirtSizestring
avatarIdstring

Example request

{
  "displayName": "Bob The Great",
  "discordTag": "hackillinois",
  "avatarId": "goblin",
  "shirtSize": "L"
}

Response

The ranking

userIdstring required

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

displayNamestring required
avatarUrlstring required
discordTagstring required
pointsnumber required
pointsAccumulatednumber required
foodWavenumber required
dietaryRestrictionsstring[] required
shirtSizestring required
teamstring required
teamBadgestring required
tiernumber

Example response

{
  "userId": "google12345",
  "displayName": "Bob The Great",
  "discordTag": "hackillinois",
  "avatarUrl": "https://raw.githubusercontent.com/HackIllinois/adonix-metadata/main/avatars/goblin.png",
  "points": 23,
  "pointsAccumulated": 104,
  "foodWave": 1,
  "dietaryRestrictions": [
    "Peanut Allergy"
  ],
  "shirtSize": "M",
  "team": "Alpha",
  "teamBadge": "https://raw.githubusercontent.com/HackIllinois/adonix-metadata/main/teamBadges/alpha.png",
  "tier": 3
}

Changes

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