Skip to content

Files

Latest commit

6db8d87 · Jun 20, 2018

History

History
50 lines (32 loc) · 1.06 KB

ApisApi.md

File metadata and controls

50 lines (32 loc) · 1.06 KB

ApisApi

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.kubedb.client.ApiException;
//import com.kubedb.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