Aksela Disallow Cache List 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 = curl_init($service_url);curl_setopt($ch,CURLOPT_CRLF, true); $curl_response = curl_exec($ch);curl_close($curl);?> Example Output { “status”: true, “data”: { “yourPaths” }, “opid”: “IuNYKCU4rALwVa9k” }
Category: Zone API
Aksela Disallow Cache Path Delete
Aksela Disallow Cache Path Delete 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 Secret’,’zone_id’ => zoneid,’disallow_cache_paths’ => ‘Your Path’); $request_body = json_encode($curl_post_data); $service_url = ‘https://api.medianova.com/v1/zone/aksela/disallow_cache_path_add’; $ch = curl_init($service_url); curl_setopt($ch, CURLOPT_CUSTOMREQUEST, “DELETE”); curl_setopt($ch, CURLOPT_POSTFIELDS, […]
Aksela Disallow Cache Path Add
Aksela Disallow Cache Path Add 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 Secret’,’zone_id’ => zoneid,’disallow_cache_paths’ => ‘Your Path’); $request_body = json_encode($curl_post_data);$service_url = ‘https://api.medianova.com/v1/zone/aksela/disallow_cache_path_add’;$ch = curl_init($service_url);curl_setopt($ch, CURLOPT_CUSTOMREQUEST, “POST”); curl_setopt($ch, CURLOPT_POSTFIELDS, $request_body); curl_setopt($ch, CURLOPT_RETURNTRANSFER, […]
Progressive Geoblock Edit
Progressive Geoblock Edit This operation allows you to edit Geoblocks for your progressive zone. Parameters Return Values Example PHP Code <?php $data = array( “user_key” => “Your User Key”, “user_secret” =>”Your User Secret”, “zone_ids” => [“zone_id”], “countries” => [“county_code”] ); <?php $curl = curl_init(); curl_setopt_array($curl, array( CURLOPT_URL => “https://api.medianova.com/v1/geoblocking/edit”, CURLOPT_RETURNTRANSFER => true, CURLOPT_ENCODING => “”, […]
Progressive Geoblock Delete
Progressive Geoblock Delete 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 Secret’, ‘zone_ids’ => [‘zone_id1’, ‘zone_id2’], ‘rule_ids’ => [‘rule_id1’, ‘rule_id2’] ); $request_body = json_encode($curl_post_data); $service_url = ‘https://api.medianova.com/v1/geoblocking/progressive/delete’; $ch = curl_init($service_url); curl_setopt($ch, […]
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 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); $decoded = json_decode($curl_response); ?> Example Output { “status”: true, “data”: { “count”: 1, “page”: 1, “limit”: 100, “rules”: [ { […]
Progressive Geoblock Add
Progressive Geoblock Add 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 Secret’, ‘zone_ids’ => [‘zoneid1’, ‘zoneid2’], ‘countries’ => [‘county_code1’, ‘country_code2’] ); $request_body = json_encode($curl_post_data); $service_url = ‘https://api.medianova.com/v1/geoblocking/progressive/add’; $ch = curl_init($service_url); curl_setopt($ch, […]
Stream Zone Update
Stream Zone Update You can update your created stream zones in order to their types. Parameters Parameter Type Required Description user_key string Yes API User Token user_secret string Yes API User Secret Token zone_id integer Yes Zone ID label string No Zone Description origin_pull_domain string No Origin pull domain only live-pull type. auth_username string No […]