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

To view details of the particular CDN resource:

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

XML Output example:

<?xml version="1.0" encoding="UTF-8"?>
<created_at type="datetime">2012-05-14T10:19:37+00:00</created_at>
<id type="integer">3</id>
<updated_at type="datetime">2012-05-14T10:19:37+00:00</updated_at>
<user_id type="integer">1</user_id>
<last_24h_cost type="float">0.0</last_24h_cost>
<edge_groups type="array">
<created_at type="datetime">2012-04-18T11:58:05+00:00</created_at>
<id type="integer">158</id>
<updated_at type="datetime">2012-04-18T11:58:05+00:00</updated_at>
<secondary_hostnames type="array"/>
<ssl_on type="boolean">false</ssl_on>
<ssl nil="true"/>
<origins type="array">

Explanation of the data returned:

cdn_hostname - the hostname which will serve static content

created_at – the date when the resource was created

id – the resource ID in the database

resource_type – HTTP PULL or PUSH

updated_at – the date when the resource was updated

user_id – the ID of the user, who owns the resource

last_24h_cost – the amount of money owed for the resource for the last 24 hours.

edge_groups – the array of edge groups assigned to this resource, where:

created_at – the date when the edge group was created

label – the label of the particular edge group assigned

id – the edge group id

updated_at – the date when the edge group was updated

status – the resource status (can be Preparing, Active, Suspended)

secondary hostname – secondary CDN hostname

ssl_on - whether SSL is enabled for the resource or not

ssl - custom SNI SSL certificate if it is added to the resource

origins – the path from which the CDN requests the content

key – access key, if any

value – the path to the content

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