Skip to content

Latest commit

 

History

History
53 lines (33 loc) · 1.52 KB

BatchApi.md

File metadata and controls

53 lines (33 loc) · 1.52 KB

UniversityOfAdelaide\OpenShift\BatchApi

All URIs are relative to https://localhost

Method HTTP request Description
getBatchAPIGroup GET /apis/batch/

getBatchAPIGroup

\UniversityOfAdelaide\OpenShift\Model\V1APIGroup getBatchAPIGroup()

get information of a group

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\BatchApi(new \Http\Adapter\Guzzle6\Client());

try {
    $result = $api_instance->getBatchAPIGroup();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling BatchApi->getBatchAPIGroup: ', $e->getMessage(), PHP_EOL;
}
?>

Parameters

This endpoint does not need any parameter.

Return type

\UniversityOfAdelaide\OpenShift\Model\V1APIGroup

Authorization

openshift_auth

HTTP request headers

  • 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]