All URIs are relative to https://localhost
Method | HTTP request | Description |
---|---|---|
getCodeVersion | GET /version/ |
\UniversityOfAdelaide\OpenShift\Model\VersionInfo getCodeVersion()
get the code version
<?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\VersionApi(new \Http\Adapter\Guzzle6\Client());
try {
$result = $api_instance->getCodeVersion();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling VersionApi->getCodeVersion: ', $e->getMessage(), PHP_EOL;
}
?>
This endpoint does not need any parameter.
\UniversityOfAdelaide\OpenShift\Model\VersionInfo
- Content-Type: application/json
- Accept: application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]