|
|
Some statistics and endpoints in the REST API are not public. In order to access them, a user must log in and, in addition, be authorized for the particular resource.
|
|
|
|
|
|
#+begin_src sh :results output
|
|
|
curl -s -H 'Authorization: Bearer e405fa87-e346-4b30-a986-aa7b04a4cc77' 'https://stats.adam.nic.cz/ca_dns_server_locations' | jq
|
|
|
#+end_src
|
|
|
|
|
|
#+RESULTS:
|
|
|
#+begin_example
|
|
|
[
|
|
|
{
|
|
|
"server_name": "cra-ca",
|
|
|
"country": "CZ",
|
|
|
"city": "Praha"
|
|
|
},
|
|
|
{
|
|
|
"server_name": "decix-ca",
|
|
|
"country": "DE",
|
|
|
"city": "Frankfurt am Main"
|
|
|
},
|
|
|
{
|
|
|
"server_name": "ixbr-ca",
|
|
|
"country": "BR",
|
|
|
"city": "Sao Paulo"
|
|
|
},
|
|
|
{
|
|
|
"server_name": "linx-ca",
|
|
|
"country": "GB",
|
|
|
"city": "London"
|
|
|
},
|
|
|
{
|
|
|
"server_name": "sixusa-ca",
|
|
|
"country": "US",
|
|
|
"city": "Seattle (WA)"
|
|
|
},
|
|
|
{
|
|
|
"server_name": "vix-ca",
|
|
|
"country": "AT",
|
|
|
"city": "Wien"
|
|
|
}
|
|
|
]
|
|
|
#+end_example |