## GET /api/v1/user/{id} *Requires an authentication header* Returns a user with id = {id} ### Response: ```json { "id": "string", "username": "string", "email": "string", "description": "string", "admin": false, "registerDate": 0, "lastLogin": 0 } ``` ## GET /api/v1/user/{id}/sessions *Requires an authentication header* Returns all sessions for a user with id = {id} ### Response: ```json { "sessions": [ { "id": "string", "userId": "string" } ] } ``` ## PATCH /api/v1/user/{id}/email *Requires an authentication header* ### Request: ```json { "email": "string" } ``` Updates email for a user with id = {id} ### Response: ```json { "id": "string", "email": "string", } ``` ## PATCH /api/v1/user/{id}/description *Requires an authentication header* ### Request: ```json { "description": "string" } ``` Updates description for a user with id = {id} ### Response: ```json { "id": "string", "description": "string", } ```