#### user login POST http://localhost:3000/api/v1/user/login Content-Type: application/json User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36 { "email": "407@roese.dev", "password": "cGFzc3dvcmQ=" } ### get user POST http://localhost:3000/api/v1/user/ Content-Type: application/json Cookie: session_id=C0yPomO6IdEEZCoaUseIRmAAegKXdD9u { "v": ["id", "state", "name"] } ### get a user by id POST http://localhost:3000/api/v1/users/75538725fe774bb3bdf829a3e2516b2f Content-Type: application/json Cookie: session_id=yXE62jFOR8aJIqGmIVlDvCFGEqtTNQw3 { "v": ["state", "name"] } #### create user POST http://localhost:3000/api/v1/users Content-Type: application/json User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36 { "username": "411", "email": "411@roese.dev", "password": "cGFzc3dvcmQ=" } ### delete user DELETE http://localhost:3000/api/v1/user User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36 Cookie: session_id=RndKK7HlwsOcc1rzQPydAujerIFq6VVd ### update user ### active user POST http://localhost:3000/api/v1/user/action/activate/CpQTQiYhJco7qdur Content-Type: application/json User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36 ### delete session DELETE http://localhost:3000/api/v1/sessions/n7H4V9UVbv7WaOJqRHaRB3TYRuVgvyGH User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36 Cookie: session_id=SP2WtO3RcLaLLoUALQINTdf0uGO4yoYh ### auth session POST http://localhost:3000/api/v1/sessions User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36 Cookie: session_id=LhL9Hs44ZXhMZexGmIJA7cqs2izSpws7 Authorization: Bearer LhL9Hs44ZXhMZexGmIJA7cqs2izSpws7 ### session auth POST http://192.168.178.53:3000/api/v1/sessions User-Agent: Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/44.0.2403.157 Safari/537.36 Cookie: session_id=LhL9Hs44ZXhMZexGmIJA7cqs2izSpws7