All URIs are relative to http://localhost:59999, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
getEnvironmentVariable() | GET /environment-variables/{name} | |
getEnvironmentVariableKeys() | GET /environment-variables |
getEnvironmentVariable($name): mixed
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EnvironmentVariablesApi(
// 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()
);
$name = 'name_example'; // string
try {
$result = $apiInstance->getEnvironmentVariable($name);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EnvironmentVariablesApi->getEnvironmentVariable: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
name | string |
mixed
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]
getEnvironmentVariableKeys(): string[]
<?php
require_once(__DIR__ . '/vendor/autoload.php');
$apiInstance = new OpenAPI\Client\Api\EnvironmentVariablesApi(
// 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->getEnvironmentVariableKeys();
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling EnvironmentVariablesApi->getEnvironmentVariableKeys: ', $e->getMessage(), PHP_EOL;
}
This endpoint does not need any parameter.
string[]
No authorization required
- Content-Type: Not defined
- Accept:
application/json
[Back to top] [Back to API list] [Back to Model list] [Back to README]