Child pages
  • Get CDN Resource Advanced Details
Skip to end of metadata
Go to start of metadata

To view advanced details of the CDN resource, use the following request:

GET /cdn_resources/:id/advanced.xml
GET /cdn_resources/:id/advanced.json

XML Output example

<?xml version="1.0" encoding="UTF-8"?>
<cdn_resource>
<secondary_hostnames type="array">
<secondary_hostname>test.com</secondary_hostname>
</secondary_hostnames>
<ip_access_policy>ALLOW_BY_DEFAULT</ip_access_policy>
<ip_addresses/>
<country_access_policy>BLOCK_BY_DEFAULT</country_access_policy>
  <countries type="array">
    <country>AL</country>
    <country>AR</country>
    <country>GT</country>
    <country>HR</country>
  </countries>
<url_signing_on type="boolean">true</url_signing_on>
<url_signing_key>dcahcgDAD</url_signing_key>
<hotlink_policy>ALLOW_BY_DEFAULT</hotlink_policy>
<domains>www.example.com</domains>
<password_on type="boolean">true</password_on>
  <passwords>
    <username2>password2</username2>
    <username1>password1</username1>
  </passwords>
<password_unauthorized_html>password unauthorized</password_unauthorized_html>
<flv_pseudo_on type="boolean">true</flv_pseudo_on>
<mp4_pseudo_on type="boolean">true</mp4_pseudo_on>
<limit_rate type="integer">80</limit_rate>
<limit_rate_after type="integer">13</limit_rate_after> 
</cdn_resource> 

 


Explanation of the data returned:

secondary hostname – secondary CDN hostname

ip_access_policy – displays access policy from a range of IP addresses; either NONE (disabled), ALLOW_BY_DEFAULT or BLOCKED_BY_DEFAULT

country_access_policy_ – displays access policy to the CDN resource's content for specified countries; either NONE (disabled), ALLOW_BY_DEFAULT or BLOCKED_BY_DEFAULT

url_signing_on – true if the access requires URL signing; otherwise false

url_signing_key – the key for URL signing; a signed URL looks like: _http://example.com/filename?hash=url-signing-key==_

hotlink_policy – displays the hotlink policy; either NONE (disabled), ALLOW_BY_DEFAULT or BLOCKED_BY_DEFAULT

domains - domains related to hotlink_policy

password_on – true, if the access to the resource is restricted; otherwise false

passwords – an array of username and password for restricted access in the following format:

<username>password</username>

mp4_pseudo_on -  1 if MP4 preudo streaming is enabled, otherwise set 0

flv_pseudo_on - 1 if FLV preudo streaming is enabled, otherwise set 0

limit_rate - speed limit of a response to a client (per request) in KB/s. Maximum limit rate value - 2147483647 KB/s

limit_rate_after - the amount after which the speed of a response to a client will be limited in KB. Maximum limit rate after value -2147483647 KB

 

#trackbackRdf ($trackbackUtils.getContentIdentifier($page) $page.title $trackbackUtils.getPingUrl($page))
  • No labels