Full Purge

Full Purge Operation Aksela performs full purge transactions on accounts. Parameters Example PHP Code <?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => ‘https://api.medianova.com/v1/zone/purge/full-purge’, CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => ”, CURLOPT_MAXREDIRS => 10, CURLOPT_TIMEOUT => 0, CURLOPT_FOLLOWLOCATION => true, CURLOPT_HTTP_VERSION => CURL_HTTP_VERSION_1_1, CURLOPT_CUSTOMREQUEST => ‘POST’, CURLOPT_POSTFIELDS =>'{ “user_key”: “xxxxxxxxxxxxxxx”, “user_secret”: “xxxxxxxxxxxxxxxxxx”, “zone_id”: 12345 }’, CURLOPT_HTTPHEADER => […]

Read More

Get CDN status

Get CDN status Checks whether the specified ip address is part of the Medianova network. Parameters Return Values Example PHP Code <?php $user_key=”Your User Key”; $user_secret=”Your User Secret”; $ip_address=”ipAddress”; $service_url = ‘https://api.medianova.com/v1/is-cdn-ip?user_key=’.$user_key.’&user_secret=’.$user_secret.’&ip=’.$ip_address; $ch = curl_init($service_url); curl_setopt($ch,CURLOPT_CRLF, true); $curl_response = curl_exec($ch); curl_close($curl); $decoded = json_decode($curl_response); ?> Example Output { “isCdnIp”:true }  

Read More