ApisApi
June 20, 2018 ยท View on GitHub
All URIs are relative to https://localhost
| Method | HTTP request | Description |
|---|---|---|
| getAPIVersions | GET /apis/ |
getAPIVersions
V1APIGroupList getAPIVersions()
get available API versions
Example
// Import classes:
//import com.appscode.searchlight.client.ApiException;
//import com.appscode.searchlight.client.apis.ApisApi;
ApisApi apiInstance = new ApisApi();
try {
V1APIGroupList result = apiInstance.getAPIVersions();
System.out.println(result);
} catch (ApiException e) {
System.err.println("Exception when calling ApisApi#getAPIVersions");
e.printStackTrace();
}
Parameters
This endpoint does not need any parameter.
Return type
Authorization
No authorization required
HTTP request headers
- Content-Type: application/json, application/yaml, application/vnd.kubernetes.protobuf
- Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf