All URIs are relative to http://http:/v1
Method | HTTP request | Description |
---|---|---|
loginIpGet | GET /login/ip | Login with IP |
loginPost | POST /login | Login with email and password |
loginSsoPost | POST /login/sso | Disabled. Always returns 403. |
loginUuidDelete | DELETE /login/{uuid} | Logout |
LoginResponse loginIpGet(xRealIP, paper)
Login with IP
Returns auth & token for customers with IP based entitlement
// Import classes:
//import org.openapitools.client.api.LoginApi;
LoginApi apiInstance = new LoginApi();
String xRealIP = null; // String |
String paper = null; // String |
try {
LoginResponse result = apiInstance.loginIpGet(xRealIP, paper);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling LoginApi#loginIpGet");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
xRealIP | String | [default to null] | |
paper | String | [default to null] [enum: HBL, ON, VN, HT, JUNIOR, FORUM, LS] |
No authorization required
- Content-Type: Not defined
- Accept: application/json;charset=utf-8
LoginResponse loginPost(body)
Login with email and password
// Import classes:
//import org.openapitools.client.api.LoginApi;
LoginApi apiInstance = new LoginApi();
LoginData body = new LoginData(); // LoginData |
try {
LoginResponse result = apiInstance.loginPost(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling LoginApi#loginPost");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | LoginData |
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/json;charset=utf-8
LoginResponse loginSsoPost(body)
Disabled. Always returns 403.
// Import classes:
//import org.openapitools.client.api.LoginApi;
LoginApi apiInstance = new LoginApi();
LoginDataSSO body = new LoginDataSSO(); // LoginDataSSO |
try {
LoginResponse result = apiInstance.loginSsoPost(body);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling LoginApi#loginSsoPost");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
body | LoginDataSSO |
No authorization required
- Content-Type: application/json;charset=utf-8
- Accept: application/json;charset=utf-8
List<Object> loginUuidDelete(uuid, authorization, everywhere)
Logout
Authorization header expects the following format ‘OAuth {token}’
// Import classes:
//import org.openapitools.client.api.LoginApi;
LoginApi apiInstance = new LoginApi();
UUID uuid = null; // UUID |
String authorization = null; // String |
Boolean everywhere = false; // Boolean |
try {
List<Object> result = apiInstance.loginUuidDelete(uuid, authorization, everywhere);
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling LoginApi#loginUuidDelete");
e.printStackTrace();
}
Name | Type | Description | Notes |
---|---|---|---|
uuid | UUID | [default to null] | |
authorization | String | [optional] [default to null] | |
everywhere | Boolean | [optional] [default to false] |
List<Object>
No authorization required
- Content-Type: Not defined
- Accept: application/json;charset=utf-8