GET
/
services
/
locations
/
proxies
curl --request GET \
  --url https://monitor.geonode.com/services/locations/proxies \
  --header 'Authorization: Basic <encoded-value>'
[
  {
    "code": "AF",
    "name": "Afghanistan",
    "cities": {
      "prefix": "-city-",
      "options": [
        {
          "code": "kabul",
          "name": "Kabul"
        }
      ]
    },
    "states": {
      "prefix": "-state-",
      "options": [
        {
          "code": "kabul",
          "name": "Kabul"
        }
      ]
    },
    "asns": {
      "prefix": "-asn-",
      "options": [
        {
          "code": "131284",
          "name": "AS131284 Etisalat Afghan"
        }
      ]
    }
  }
]

Authorizations

Authorization
string
header
required

Basic authentication header of the form Basic <encoded-value>, where <encoded-value> is the base64-encoded string username:password.

Response

200
application/json
List of available geo-locations retrieved successfully.
code
string

The ISO 3166-1 alpha-2 country code, which is a two-letter code representing the country.

Example:

"AF"

name
string

The full name of the country.

Example:

"Afghanistan"

cities
object

Contains details about city-level targeting.

states
object

Contains details about state-level targeting.

asns
object

Contains details about ASN-level targeting.