You're browsing the documentation for an old version of CDN77 API. Please consider upgrading to CDN77 v3.

Raw Logs

Available methods:

Get Files

GEThttps://api.cdn77.com/v2.0/raw-logs/get-files

Parameters

Parameter Example Description
login string* info@domain.com Your login (email) to CDN77 control panel
passwd string* 8vL4BpXbRqgPTKA0h Your API password.

Return Values

Return Value Description
list_raw_logs_files json

Examples

// GET request

curl "https://api.cdn77.com/v2.0/raw-logs/get-files?login=name@domain.com&passwd=your_api_password"

// response
{
  "status": "ok",
  "description": "Request was successful.",
  "logs": {
    "CDN_ID": [
      { "fileName": "21Feb2017.gz", "day": "Today", "exists": true, "lastChange": "23:12:00" },
      { "fileName": "20Feb2017.gz", "day": "Yesterday", "exists": true },
      { "fileName": "19Feb2017.gz", "day": "Two Days Ago", "exists": true }
    ]
  }
}

Download

GEThttps://api.cdn77.com/v2.0/raw-logs/download

Parameters

Parameter Example Description
login string* info@domain.com Your login (email) to CDN77 control panel
passwd string* 8vL4BpXbRqgPTKA0h Your API password.
cdn_id int CDN Id. See how to retrieve a list of your CDNs including their Ids.
file_name string*

Return Values

Return Value Description
raw_logs_file gz file