All URIs are relative to http://localhost
Method | HTTP request | Description |
---|---|---|
infoServiceGetInfo | GET /api/v1/info | |
infoServiceGetUserInfo | GET /api/v1/userinfo | |
infoServiceGetVersion | GET /api/v1/version |
InfoResponse infoServiceGetInfo()
// Import classes:
import io.argoproj.workflow.ApiClient;
import io.argoproj.workflow.ApiException;
import io.argoproj.workflow.Configuration;
import io.argoproj.workflow.models.*;
import io.argoproj.workflow.apis.InfoServiceApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
InfoServiceApi apiInstance = new InfoServiceApi(defaultClient);
try {
InfoResponse result = apiInstance.infoServiceGetInfo();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InfoServiceApi#infoServiceGetInfo");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | A successful response. | - |
0 | An unexpected error response. | - |
GetUserInfoResponse infoServiceGetUserInfo()
// Import classes:
import io.argoproj.workflow.ApiClient;
import io.argoproj.workflow.ApiException;
import io.argoproj.workflow.Configuration;
import io.argoproj.workflow.models.*;
import io.argoproj.workflow.apis.InfoServiceApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
InfoServiceApi apiInstance = new InfoServiceApi(defaultClient);
try {
GetUserInfoResponse result = apiInstance.infoServiceGetUserInfo();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InfoServiceApi#infoServiceGetUserInfo");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | A successful response. | - |
0 | An unexpected error response. | - |
Version infoServiceGetVersion()
// Import classes:
import io.argoproj.workflow.ApiClient;
import io.argoproj.workflow.ApiException;
import io.argoproj.workflow.Configuration;
import io.argoproj.workflow.models.*;
import io.argoproj.workflow.apis.InfoServiceApi;
public class Example {
public static void main(String[] args) {
ApiClient defaultClient = Configuration.getDefaultApiClient();
defaultClient.setBasePath("http://localhost");
InfoServiceApi apiInstance = new InfoServiceApi(defaultClient);
try {
Version result = apiInstance.infoServiceGetVersion();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling InfoServiceApi#infoServiceGetVersion");
System.err.println("Status code: " + e.getCode());
System.err.println("Reason: " + e.getResponseBody());
System.err.println("Response headers: " + e.getResponseHeaders());
e.printStackTrace();
}
}
}
This endpoint does not need any parameter.
No authorization required
- Content-Type: Not defined
- Accept: application/json
Status code | Description | Response headers |
---|---|---|
200 | A successful response. | - |
0 | An unexpected error response. | - |