All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
addUser | POST /api/user | Adds a new user. |
getAllUsers | GET /api/user | Retrieves all users. |
getUserByEmail | GET /api/user/{email} | Retrieves a user by their email address. |
updateUser | PUT /api/user/{email} | update a user by their email address. |
UserResponse addUser(UserRequest)
Adds a new user.
Name | Type | Description | Notes |
---|---|---|---|
UserRequest | UserRequest | User to add to the system. | [optional] |
No authorization required
- Content-Type: application/json, text/json, application/*+json
- Accept: text/plain, application/json, text/json
List getAllUsers()
Retrieves all users.
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
UserResponse getUserByEmail(email)
Retrieves a user by their email address.
Name | Type | Description | Notes |
---|---|---|---|
String | The email address of the user to retrieve. | [default to null] |
No authorization required
- Content-Type: Not defined
- Accept: text/plain, application/json, text/json
updateUser(email, UserUpdateRequest)
update a user by their email address.
Name | Type | Description | Notes |
---|---|---|---|
String | The email address of the user to update. | [default to null] | |
UserUpdateRequest | UserUpdateRequest | User to update from the system. | [optional] |
null (empty response body)
No authorization required
- Content-Type: application/json, text/json, application/*+json
- Accept: text/plain, application/json, text/json