All URIs are relative to https://localhost
Method | HTTP request | Description |
---|---|---|
getAPIVersions | GET /apis/ |
\UniversityOfAdelaide\OpenShift\Model\V1APIGroupList getAPIVersions()
get available API versions
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: openshift_auth
UniversityOfAdelaide\OpenShift\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$api_instance = new UniversityOfAdelaide\OpenShift\Api\ApisApi(new \Http\Adapter\Guzzle6\Client());
try {
$result = $api_instance->getAPIVersions();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling ApisApi->getAPIVersions: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
\UniversityOfAdelaide\OpenShift\Model\V1APIGroupList
- Content-Type: application/json, application/yaml, application/vnd.kubernetes.protobuf
- Accept: application/json, application/yaml, application/vnd.kubernetes.protobuf
[Back to top] [Back to API list] [Back to Model list] [Back to README]