Get List of Edge Server IP Ranges

To get the list of edge server IP ranges, use the following request: 

GET /cdn_resources/edge_ips.xml
GET /cdn_resources/edge_ips.json

XML Request Example

curl -i -X GET -u user:userpass --url http://onapp.test/cdn_resources/edge_ips.xml -H 'Accept: application/xml' -H 'Content-type: application/xml'

JSON Request Example

curl -i -X GET -u user:userpass --url http://onapp.test/cdn_resources/edge_ips.json -H 'Accept: application/json' -H 'Content-type: application/json'

XML Output Example

  <edge_ips type="array">
    <edge_ip>66.167.227.0/24</edge_ip>
    <edge_ip>51.9.120.0/24</edge_ip>
  </edge_ips>

Where: 

edge_ips – the array of edge server IP ranges