Skip to content

Latest commit

 

History

History
56 lines (40 loc) · 1.89 KB

DictionaryInfoApi.md

File metadata and controls

56 lines (40 loc) · 1.89 KB

Fastly\Api\DictionaryInfoApi

$apiInstance = new Fastly\Api\DictionaryInfoApi(
    // 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
);

Methods

Method Fastly API endpoint Description
getDictionaryInfo() GET /service/{service_id}/version/{version_id}/dictionary/{dictionary_id}/info Get edge dictionary metadata

getDictionaryInfo()

getDictionaryInfo($options): \Fastly\Model\DictionaryInfoResponse // Get edge dictionary metadata

Retrieve metadata for a single dictionary by ID for a version and service.

Example

    $options['service_id'] = 'service_id_example'; // string | Alphanumeric string identifying the service.
$options['version_id'] = 56; // int | Integer identifying a service version.
$options['dictionary_id'] = 'dictionary_id_example'; // string | Alphanumeric string identifying a Dictionary.

try {
    $result = $apiInstance->getDictionaryInfo($options);
} catch (Exception $e) {
    echo 'Exception when calling DictionaryInfoApi->getDictionaryInfo: ', $e->getMessage(), PHP_EOL;
}

Options

Note: the input parameter is an associative array with the keys listed below.

Name Type Description Notes
service_id string Alphanumeric string identifying the service.
version_id int Integer identifying a service version.
dictionary_id string Alphanumeric string identifying a Dictionary.

Return type

\Fastly\Model\DictionaryInfoResponse

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