Skip to content

Latest commit

 

History

History
51 lines (32 loc) · 1.13 KB

File metadata and controls

51 lines (32 loc) · 1.13 KB

openshift.client.OsapiApi

All URIs are relative to https://localhost

Method HTTP request Description
get_osapi_version GET /osapi/

get_osapi_version

get_osapi_version()

list supported server API versions

Example

from __future__ import print_statement
import time
import openshift.client
from kubernetes.client.rest import ApiException
from pprint import pprint

# create an instance of the API class
api_instance = openshift.client.OsapiApi()

try: 
    api_instance.get_osapi_version()
except ApiException as e:
    print("Exception when calling OsapiApi->get_osapi_version: %s\n" % e)

Parameters

This endpoint does not need any parameter.

Return type

void (empty response body)

Authorization

No authorization required

HTTP request headers

  • Content-Type: application/json
  • Accept: application/json

[Back to top] [Back to API list] [Back to Model list] [Back to README]