Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.4 KB

VersionApi.md

File metadata and controls

53 lines (33 loc) · 1.4 KB

UniversityOfAdelaide\OpenShift\VersionApi

All URIs are relative to https://localhost

Method HTTP request Description
getCodeVersion GET /version/

getCodeVersion

\UniversityOfAdelaide\OpenShift\Model\VersionInfo getCodeVersion()

get the code version

Example

<?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;
}
?>

Parameters

This endpoint does not need any parameter.

Return type

\UniversityOfAdelaide\OpenShift\Model\VersionInfo

Authorization

openshift_auth

HTTP request headers

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

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