APIs
API description | Method | Request URL | Response | Response description |
---|---|---|---|---|
Search of all users | GET | /user | 200 | - |
400 | - | |||
User creation | POST | /user | 201 | Creation |
400 | - | |||
409 | Already existence user ID | |||
Information retrieval of users | GET | /user/{user id} | 200 | - |
400 | - | |||
404 | Not found user | |||
Information update of users | PUT | /user/{user id} | 200 | - |
400 | - | |||
404 | - | |||
User deletion | DELETE | /user/{user id} | 204 | Deletion |
400 | - | |||
Login | POST | /login | 201 | - |
400 | - | |||
401 | Wrong password | |||
404 | Not found user |