URL
https://cdnsun.com/api/cdns[/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/cdns[/ID]'
Options
| Option | Data Type | Description |
|---|
| ID | integer | CDN service ID. |
| status | string | CDN service status. |
| service_type | string | CDN service type. |
| service_domain | string | Indicates the domain name for customized CDN URLs. |
| origin_domain | string | The domain name from which the CDN service requests its content. |
| service_identifier | string | Unique service identifier. |
| ssl_on | boolean | Whether Shared SSL is enabled or disabled. |
| origin_protocol | string | Indicates the protocol (HTTP/HTTPS/AUTO) used for pull requests from CDN edge servers to the CDN service origin. |
| origin_port | integer | Indicates the custom TCP port used for pull requests from CDN edge servers to the CDN service origin. |
| cache_expiry | integer | CDN cache expiry time in minutes. |
| url_signing_on | boolean | Whether URL Signing is enabled or disabled. |
| url_signing_key | string | The key for URL Signing. |
| proxy_cache_key | string | The CDN cache key. |
| ignore_set_cookie_on | boolean | Whether Ignore Set-Cookie is enabled or disabled. |
| block_crawlers_on | boolean | Whether Block Search Engine Crawlers is enabled or disabled. |
| secondary_service_domains | array | Secondary Service Domains. |
| location_ids | array | The integer ID(s) of susbcribed CDN Locations. |