Child pages
  • CDN Usage Statistics
Skip to end of metadata
Go to start of metadata

CDN usage statistics shows the detailed information on all the resources used by CDN.

GET /cdn_usage_statistics.xml
GET /cdn_usage_statistics.json

XML Request example

curl -i -X GET -u user:userpass --url http://onapp.test/cdn_usage_statistics.xml -d '<period><startdate>YYYY-MM-DD+hh:mm:ss</startdate><enddate>YYYY-MM-DD+hh:mm:ss</enddate></period>' -H 'Accept: application/xml' -H 'Content-type: application/xml'


JSON Request example

curl -i -X GET -u user:userpass --url http://onapp.test/cdn_usage_statistics.json -d '{"period":{"startdate":"YYYY-MM-DD+hh:mm:ss","enddate":"YYYY-MM-DD+hh:mm:ss"}}' -H 'Accept: application/json' -H 'Content-type: application/json'

XML Output example:

Status: 200
Content-Length: 1378
Connection: close
Content-Type: application/xml; charset=utf-8
<?xml version="1.0" encoding="UTF-8"?>


user_id - the ID of the OnApp user

edge_group_id - the ID of the edge group in use

cached - the amount of cached data in GB

non_cached - the amount of non-cached data in GB

location_id - the ID of the location assigned to this particular edge group (edge_group_id) in OnApp.

You can view the list of locations via the Get CDN Edge Group Details API request, where available_locations parameter is the array of locations available for this edge group.


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