All URIs are relative to https://}.
Method | HTTP request | Description |
---|---|---|
ping() | GET /v1/ping | Ping the system |
ping($x_application_id, $x_store_id, $x_echo_error): \OpenAPI\Client\Model\PongObject
Ping the system
RATE LIMIT: 8 per minute
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure OAuth2 access token for authorization: OAuth2.0
$config = OpenAPI\Client\Configuration::getDefaultConfiguration()->setAccessToken('YOUR_ACCESS_TOKEN');
$apiInstance = new OpenAPI\Client\Api\PingEndpointsApi(
// 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
);
$x_application_id = 'x_application_id_example'; // string
$x_store_id = 'x_store_id_example'; // string
$x_echo_error = ping test error message; // string
try {
$result = $apiInstance->ping($x_application_id, $x_store_id, $x_echo_error);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling PingEndpointsApi->ping: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
x_application_id | string | ||
x_store_id | string | ||
x_echo_error | string | [optional] |
\OpenAPI\Client\Model\PongObject
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]