UserApi¶
All URIs are relative to http://localhost:8080/api/v3
Method | HTTP request | Description |
---|---|---|
loginUser | GET /user/login | Logs user into the system |
logoutUser | GET /user/logout | Logs out current logged in user session |
loginUser¶
String loginUser(username, password)
Logs user into the system
Parameters¶
Name | Type | Description | Notes |
---|---|---|---|
username | String | The user name for login | [optional] [default to null] |
password | String | The password for login in clear text | [optional] [default to null] |
Return type¶
String
Authorization¶
HTTP request headers¶
- Content-Type: Not defined
- Accept: application/json
logoutUser¶
logoutUser()
Logs out current logged in user session
Parameters¶
This endpoint does not need any parameter.
Return type¶
null (empty response body)
Authorization¶
HTTP request headers¶
- Content-Type: Not defined
- Accept: Not defined