Skip to content

Latest commit

 

History

History
67 lines (44 loc) · 1.91 KB

File metadata and controls

67 lines (44 loc) · 1.91 KB

SimplyCom\ServerstatusApi

All URIs are relative to https://api.simply.com/2, except if the operation defines another base path.

Method HTTP request Description
getServerStatusMessages() GET /my/serverstatus/messages/ Retrieve server status messages

getServerStatusMessages()

getServerStatusMessages(): \SimplyCom\SimplyCom\Model\GetServerStatusMessages200Response

Retrieve server status messages

Retrieve a list of current and past server status messages, including planned maintenance and incidents. Returns messages from the last 6 months.

Example

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


// Configure HTTP basic authorization: basicAuth
$config = SimplyCom\Configuration::getDefaultConfiguration()
              ->setUsername('YOUR_USERNAME')
              ->setPassword('YOUR_PASSWORD');


$apiInstance = new SimplyCom\Api\ServerstatusApi(
    // 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->getServerStatusMessages();
    print_r($result);
} catch (Exception $e) {
    echo 'Exception when calling ServerstatusApi->getServerStatusMessages: ', $e->getMessage(), PHP_EOL;
}

Parameters

This endpoint does not need any parameter.

Return type

\SimplyCom\SimplyCom\Model\GetServerStatusMessages200Response

Authorization

basicAuth

HTTP request headers

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

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