Skip to content

Latest commit

 

History

History
56 lines (38 loc) · 1.63 KB

StatusApi.md

File metadata and controls

56 lines (38 loc) · 1.63 KB

Dangl\AVACloud\StatusApi

All URIs are relative to https://avacloud-api.dangl-it.com

Method HTTP request Description
statusGetStatus GET /status Reports the health status of the AVACloud API

statusGetStatus

\Dangl\AVACloud\Model\GetStatus statusGetStatus()

Reports the health status of the AVACloud API

Example

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

// Configure OAuth2 access token for authorization: Dangl.Identity
$config = Dangl\AVACloud\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');

$apiInstance = new Dangl\AVACloud\Api\StatusApi(
    // 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(),
    $config
);

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

Parameters

This endpoint does not need any parameter.

Return type

\Dangl\AVACloud\Model\GetStatus

Authorization

Dangl.Identity

HTTP request headers

  • Content-Type: Not defined
  • Accept: text/plain, application/json, text/json, application/problem+json

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