require 'fastly'
api_instance = Fastly::PopApi.new
Note
All URIs are relative to https://api.fastly.com
Method | HTTP request | Description |
---|---|---|
list_pops | GET /datacenters | List Fastly POPs |
list_pops: <Array<Pop>> # List Fastly POPs
Get a list of all Fastly POPs.
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
This endpoint does not need any parameter.