get
https://{app}.{filespin}.{io}/api/v1/stats/cdn
Retrieve CDN usage stats
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
periodis the usage period (defaults to 24, for past 24 hours)cdnis the user CDN for which data is returnedsumis total traffic in bytes for the given period