Auth

Gets the roles of the currently authenticated user

Required role: USER

Possible roles: ADMIN, STAFF, MENTOR, APPLICANT, ATTENDEE, USER, SPONSOR, BLOBSTORE, PRO

get/auth/roles/

Request

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

Response

The roles

idstring required

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

rolesRole[] required

Example response

{
  "id": "github1234",
  "roles": [
    "USER"
  ]
}

Changes

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