ApisApi

June 20, 2018 ยท View on GitHub

All URIs are relative to https://localhost

MethodHTTP requestDescription
getAPIVersionsGET /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

V1APIGroupList

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