- /user
GET
/- Get user object for self
-
{ "token": "jwtToken" }
-
{ "id": "uuid", "username": "username", "permissionLevel": 3, "email": "email@email.email", "name": "name" }
PATCH
/- Update self
-
{ "token": "jwtToken", ... }
-
{ "id": "uuid", "username": "username", "permissionLevel": 3, "email": "email@email.email", "name": "name" }
POST
/- Create user
-
{ "username": "username", "pwHash": "hash", "email": "email@email.email", "name": "name" }
-
{ "id": "uuid": "username": "username", "permissionLevel": 0, "email": "email@email.email", "name": "name" }