...
Old URL | New URL | Comment |
---|---|---|
POST /user/create | POST /user/ | Creates a new user. (Returns URL to new user definition?) |
GET /user/list | GET /user | Returns a list of all known users |
GET /user/list/{page}/{size} | GET /user?page={page}&size={size} | Returns a list of known users matching page/size conditions |
GET /user/read/{userId} | GET /user/{userId} | Returns a single user matching the provided userId |
GET /user/readByUsername/{username} | GET /user?uname_s=username=={username} | Returns a single user matching the provided username |
POST /user/search POST | GET /user/?{search} | Returns a list of user matching the provided search conditions. |
POST /user/search/{page}/{size} | POST /user/?{search?}&page={page}&size={size} | Returns a list of user matching the provided search and page/size and search conditions. |
GET /user/count | GET /user/count | Returns a number of existing users. |
POST /user/search/count | POST /user/count?{search/count } | Returns a number of user matching the provided search conditions. |
GET /user/verifyPassword/{username}?password={password} | GET /user?uname_s=username=={username}&pw;password=={password} | Returns user if username and password match with an existing account. |
POST /user/update | PUT /user/{userId} | Updates user. |
GET /user/delete/{userId} | DELETE /user/{userId} | Deletes user. |
GET /deleteByUsername/{username} | <<removed>> | Please use 'GET /user?uname={username}' to discover userId and then use 'DELETE /user/{userId}' to delete user. |
...