Users#

Get User data and change profile options


  • GET: /getUserData

    Get some data from the user

    headers:
    x-api-key (string)
    UUID (string)
    Return Example:
    {"codes": [200], "data": {
      "name": "Jannis Martensen",
      "id": 1
    }}
    

  • GET: /getRights

    Get permission data for a user

    headers:
    x-api-key (string)
    UUID (string)
    Return Example:
    {"codes": [200], "data": {
      "admin": "False",
      "mod": "True",
      "dj": "True"
    }}
    

  • POST: /changeName

    Change a users name

    headers:
    x-api-key (string)
    UUID (string)
    newName (string)
    Return Example:
    {"codes": [200]}