Skip to content

Latest commit

 

History

History
49 lines (33 loc) · 1.06 KB

PopApi.md

File metadata and controls

49 lines (33 loc) · 1.06 KB

Fastly\Api\PopApi

$apiInstance = new Fastly\Api\PopApi(
    // 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
listPops() GET /datacenters List Fastly POPs

listPops()

listPops($options): \Fastly\Model\Pop[] // List Fastly POPs

Get a list of all Fastly POPs.

Example

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

Options

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

This endpoint does not need any parameters.

Return type

\Fastly\Model\Pop[]

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