GET
/
cdn
/
public-net-list
Python
from gcore import Gcore

client = Gcore()
public_network_list = client.cdn.ip_ranges.list()
print(public_network_list.addresses)
{
  "addresses": [
    "185.239.155.0/24"
  ],
  "addresses_v6": [
    "2a03:90c0:391:2801::/112"
  ]
}

Response

200 - application/json

Successful.

addresses
string[]

List of IPv4 networks.

Example:
["185.239.155.0/24"]
addresses_v6
string[]

List of IPv6 networks.

Example:
["2a03:90c0:391:2801::/112"]