Get CDN Location(s) details

URL

https://cdnsun.com/api/locations[/ID]

Method

GET

Curl example

curl -i -X GET -u username:password -H 'Accept: application/json' -H 'Content-type: application/json' --url 'https://cdnsun.com/api/locations[/ID]'

Options

OptionData TypeDescription
IDintegerLocation ID.
labelstringLocation label.
stream_supportedbooleanWhether the location supports streaming required by CDN Video. CDN Video Push and CDN Live services.
latitudefloatLocation latitude.
longitudefloatLocation longitude
countrystringLocation ISO 3166 country code
country_namestringLocation country name
continentstringLocation ISO 3166 continent code
continent_namestringLocation continent name

Contact Us

   _____     ___    __    __  
  / ___//   / _ \\  \ \\ / // 
  \___ \\  | / \ ||  \ \/ //  
  /    //  | \_/ ||   \  //   
 /____//    \___//     \//    
`-----`     `---`       `