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 }
All posts by Yusuf Bektemir
Aksela Disallow Cache List
Aksela Disallow Cache List Please note that in our new cloud panel, Zones are named as CDN Resources. (Zone ID = CDN Resource ID) With this API, you can list the pages that are not cached in Aksela. Parameters Return Values Example PHP Code <?php $user_key=”Your User Key”;$user_secret=”Your User Secret”; $service_url = ‘https://api.medianova.com/v1/zone/aksela/disallow_cache_path_list?user_key=’.$user_key.’&user_secret=’.$user_secret.’&zone_id=zone_id’; $ch = […]
Aksela Disallow Cache Path Delete
Aksela Disallow Cache Path Delete Please note that in our new cloud panel, Zones are named as CDN Resources. (Zone ID = CDN Resource ID) With this API, you can delete the pages that are not cached in Aksela. Parameters Return Values Example PHP Code <?php $curl_post_data = array(‘user_key’ => ‘Your User Key’,’user_secret’ =>’Your User […]
Aksela Disallow Cache Path Add
Aksela Disallow Cache Path Add Please note that in our new cloud panel, Zones are named as CDN Resources. (Zone ID = CDN Resource ID) With this API, you can add the pages that are not cached in Aksela. Parameters Return Values Example PHP Code <?php $curl_post_data = array(‘user_key’ => ‘Your User Key’,’user_secret’ =>’Your User […]
Progressive Geoblock Delete
Progressive Geoblock Delete Please note that in our new cloud panel, Zones are named as CDN Resources. (Zone ID = CDN Resource ID) This operation allows you to define the new Geoblock for your stream live zone. Parameters Return Values Example PHP Code <?php $curl_post_data = array( ‘user_key’ => ‘Your User Key’, ‘user_secret’ =>’Your User […]
Progressive Geoblock Passive
Progressive Geoblock Passive This operation allows you to passive your active Geoblocks for your progressive zone. This does not delete Geoblock. Parameters Return Values Example PHP Code <?php $data = array( “user_key”: “user_key”, “user_secret”: “user_secret”, “zone_ids”:zone_ids, “rule_ids”: [rule_ids] ); $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => “https://api.medianova.com/v1/geoblocking/passive”, CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => “”, CURLOPT_MAXREDIRS => […]
Progressive Geoblock Active
Progressive Geoblock Active This operation allows you to activate your passive Geoblocks for your progressive zone. Parameters Return Values Example PHP Code <?php $curl_post_data = array( ‘user_key’ => ‘Your User Key’, ‘user_secret’ =>’Your User Secret’, ‘zone_id’ => [‘zone_id1’, ‘zone_id2’], ); $request_body = json_encode($curl_post_data); $service_url = ‘https://api.medianova.com/v1/geoblocking/progressive/active’; $ch = curl_init($service_url); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, “PUT”); curl_setopt($ch, CURLOPT_POSTFIELDS, $request_body); […]
Progressive Geoblock List
Progressive Geoblock List Please note that in our new cloud panel, Zones are named as CDN Resources. (Zone ID = CDN Resource ID) It allows you to list of Geoblocks. Parameters Return Values Example PHP Code <?php $user_key=”Your User Key”; $user_secret=”Your User Secret”; $service_url = ‘https://api.medianova.com/v1/geoblocking/progressive/list?user_key=’.$user_key.’&user_secret=’.$user_secret.’&zone_ids[]={zone_id}’; $ch = curl_init($service_url); curl_setopt($ch,CURLOPT_CRLF, true); $curl_response = curl_exec($ch); curl_close($curl); […]
Progressive Geoblock Add
Progressive Geoblock Add Please note that in our new cloud panel, Zones are named as CDN Resources. (Zone ID = CDN Resource ID) Using the information below, you can add a new Geoblock for your progressive zone. Parameters Return Values Example PHP Code <?php $curl_post_data = array( ‘user_key’ => ‘Your User Key’, ‘user_secret’ =>’Your User […]