Skip to main content

Retrieve CDN Stats

GET 

/api/v1/stats/cdn

Response

The response JSON provides the traffic that the CDN received for the period.

{
"type": "traffic",
"period": 24,
"cdn": "cdn.filespin.io",
"data": {
"sum": 5564923752
}
}

Where

  • period is the usage period (defaults to 24, for past 24 hours)
  • cdn is the user CDN for which data is returned
  • sum is total traffic in bytes for the given period

Request

Responses

Successful operation