Sha256: 2c655d8955781eaea84e3cb46ea69f5c300ff149a80f71c66130d73235d72af9

Contents?: true

Size: 845 Bytes

Versions: 8

Compression:

Stored size: 845 Bytes

Contents

# Fastly::PopApi


```ruby
require 'fastly'
api_instance = Fastly::PopApi.new
```

## Methods

> [!NOTE]
> All URIs are relative to `https://api.fastly.com`

Method | HTTP request | Description
------ | ------------ | -----------
[**list_pops**](PopApi.md#list_pops) | **GET** /datacenters | List Fastly POPs


## `list_pops()`

```ruby
list_pops: <Array<Pop>> # List Fastly POPs
```

Get a list of all Fastly POPs.

### Examples

```ruby
api_instance = Fastly::PopApi.new

begin
  # List Fastly POPs
  result = api_instance.list_pops
  p result
rescue Fastly::ApiError => e
  puts "Error when calling PopApi->list_pops: #{e}"
end
```

### Options

This endpoint does not need any parameter.

### Return type

[**Array&lt;Pop&gt;**](Pop.md)

[[Back to top]](#) [[Back to API list]](../../README.md#endpoints)
[[Back to README]](../../README.md)

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
fastly-9.0.0 docs/PopApi.md
fastly-8.10.0 docs/PopApi.md
fastly-8.9.0 docs/PopApi.md
fastly-8.8.0 docs/PopApi.md
fastly-8.7.0 docs/PopApi.md
fastly-8.6.0 docs/PopApi.md
fastly-8.5.0 docs/PopApi.md
fastly-8.4.0 docs/PopApi.md