Skip to content

Latest commit

 

History

History
59 lines (37 loc) · 1.48 KB

DefaultApi.md

File metadata and controls

59 lines (37 loc) · 1.48 KB

Verdigado\GrueneApiClient\DefaultApi

All URIs are relative to https://api.gruene.de, except if the operation defines another base path.

Method HTTP request Description
clientInfoControllerGetClientInfo() GET /v1/client-info

clientInfoControllerGetClientInfo()

clientInfoControllerGetClientInfo(): \Verdigado\GrueneApiClient\models\ClientInfo

Example

<?php
require_once(__DIR__ . '/vendor/autoload.php');



$apiInstance = new Verdigado\GrueneApiClient\Api\DefaultApi(
    // If you want use custom http client, pass your client which implements `GuzzleHttp\ClientInterface`.
    // This is optional, `GuzzleHttp\Client` will be used as default.
    new GuzzleHttp\Client()
);

try {
    $result = $apiInstance->clientInfoControllerGetClientInfo();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling DefaultApi->clientInfoControllerGetClientInfo: ', $e->getMessage(), PHP_EOL;
}

Parameters

This endpoint does not need any parameter.

Return type

\Verdigado\GrueneApiClient\models\ClientInfo

Authorization

No authorization required

HTTP request headers

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

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