API documentation

Raw Logs

Download Raw Logs

Available methods

Get Files
Download

Get Files

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

Parameters

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

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

GET
https://api.cdn77.com/v2.0/raw-logs/download
Download Raw logs

Parameters

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

Return Values

Return Value Description
raw_logs_file gz file