All URIs are relative to http://localhost, except if the operation defines another base path.
Method | HTTP request | Description |
---|---|---|
apiWebspacePlansIdGet() | GET /webspace-plans/{id} | Get webspace plan |
apiWebspacePlansIdGet($id): \NETZFABRIK\Model\WebspacePlan
Get webspace plan
Get a webspace plan by ID
<?php
require_once(__DIR__ . '/vendor/autoload.php');
// Configure API key authorization: JWT
$config = NETZFABRIK\Configuration::getDefaultConfiguration()->setApiKey('Authorization', 'YOUR_API_KEY');
// Uncomment below to setup prefix (e.g. Bearer) for API key, if needed
// $config = NETZFABRIK\Configuration::getDefaultConfiguration()->setApiKeyPrefix('Authorization', 'Bearer');
$apiInstance = new NETZFABRIK\Api\WebspacePlanApi(
// 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
);
$id = 'id_example'; // string | WebspacePlan identifier
try {
$result = $apiInstance->apiWebspacePlansIdGet($id);
print_r($result);
} catch (Exception $e) {
echo 'Exception when calling WebspacePlanApi->apiWebspacePlansIdGet: ', $e->getMessage(), PHP_EOL;
}
Name | Type | Description | Notes |
---|---|---|---|
id | string | WebspacePlan identifier |
\NETZFABRIK\Model\WebspacePlan
- Content-Type: Not defined
- Accept:
application/json
,text/html
[Back to top] [Back to API list] [Back to Model list] [Back to README]