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
Option | Data Type | Description |
---|
ID | integer | Location ID. |
label | string | Location label. |
stream_supported | boolean | Whether the location supports streaming required by CDN Video. CDN Video Push and CDN Live services. |
latitude | float | Location latitude. |
longitude | float | Location longitude |
country | string | Location ISO 3166 country code |
country_name | string | Location country name |
continent | string | Location ISO 3166 continent code |
continent_name | string | Location continent name |