123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184 |
- ===
- GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
- ===
- 404
- Content-Type: application/json; charset=utf-8
- Content-Length: 54
-
- {"code":1001,"message":"Table 'invisibles' not found"}
- ===
- POST /login
- Content-Type: application/json; charset=utf-8
-
- {"username":"user2","password":"pass2"}
- ===
- 200
- Content-Type: application/json; charset=utf-8
- Content-Length: 27
-
- {"id":2,"username":"user2"}
- ===
- GET /me
- ===
- 200
- Content-Type: application/json; charset=utf-8
- Content-Length: 27
-
- {"id":2,"username":"user2"}
- ===
- GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
- ===
- 200
- Content-Type: application/json; charset=utf-8
- Content-Length: 45
-
- {"id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}
- ===
- POST /login
- Content-Type: application/json; charset=utf-8
-
- {"username":"user2","password":"incorect password"}
- ===
- 403
- Content-Type: application/json; charset=utf-8
- Content-Length: 59
-
- {"code":1012,"message":"Authentication failed for 'user2'"}
- ===
- GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
- ===
- 200
- Content-Type: application/json; charset=utf-8
- Content-Length: 45
-
- {"id":"e42c77c6-06a4-4502-816c-d112c7142e6d"}
- ===
- POST /logout
- ===
- 200
- Content-Type: application/json; charset=utf-8
- Content-Length: 27
-
- {"id":2,"username":"user2"}
- ===
- GET /records/invisibles/e42c77c6-06a4-4502-816c-d112c7142e6d
- ===
- 404
- Content-Type: application/json; charset=utf-8
- Content-Length: 54
-
- {"code":1001,"message":"Table 'invisibles' not found"}
- ===
- POST /logout
- ===
- 401
- Content-Type: application/json; charset=utf-8
- Content-Length: 49
-
- {"code":1011,"message":"Authentication required"}
- ===
- POST /register
- Content-Type: application/json; charset=utf-8
-
- {"username":"user2","password":""}
- ===
- 422
- Content-Type: application/json; charset=utf-8
- Content-Length: 60
-
- {"code":1021,"message":"Password too short (<4 characters)"}
- ===
- POST /register
- Content-Type: application/json; charset=utf-8
-
- {"username":"user2","password":"pass2"}
- ===
- 409
- Content-Type: application/json; charset=utf-8
- Content-Length: 53
-
- {"code":1020,"message":"User 'user2' already exists"}
- ===
- POST /register
- Content-Type: application/json; charset=utf-8
-
- {"username":"user3","password":"pass3"}
- ===
- 200
- Content-Type: application/json; charset=utf-8
- Content-Length: 27
-
- {"id":3,"username":"user3"}
- ===
- POST /login
- Content-Type: application/json; charset=utf-8
-
- {"username":"user3","password":"pass3"}
- ===
- 200
- Content-Type: application/json; charset=utf-8
- Content-Length: 27
-
- {"id":3,"username":"user3"}
- ===
- GET /me
- ===
- 200
- Content-Type: application/json; charset=utf-8
- Content-Length: 27
-
- {"id":3,"username":"user3"}
- ===
- POST /password
- Content-Type: application/json; charset=utf-8
-
- {"username":"user3","password":"pass3","newPassword":"secret3"}
- ===
- 200
- Content-Type: application/json; charset=utf-8
- Content-Length: 27
-
- {"id":3,"username":"user3"}
- ===
- POST /logout
- ===
- 200
- Content-Type: application/json; charset=utf-8
- Content-Length: 27
-
- {"id":3,"username":"user3"}
- ===
- POST /login
- Content-Type: application/json; charset=utf-8
-
- {"username":"user3","password":"secret3"}
- ===
- 200
- Content-Type: application/json; charset=utf-8
- Content-Length: 27
-
- {"id":3,"username":"user3"}
- ===
- GET /me
- ===
- 200
- Content-Type: application/json; charset=utf-8
- Content-Length: 27
-
- {"id":3,"username":"user3"}
- ===
- POST /logout
- ===
- 200
- Content-Type: application/json; charset=utf-8
- Content-Length: 27
-
- {"id":3,"username":"user3"}
- ===
- DELETE /records/users/3
- ===
- 200
- Content-Type: application/json; charset=utf-8
- Content-Length: 1
-
- 1
|