Geoblock List
This operation allows you to list Geoblocks for your stream live zone.
Parameters
Example PHP Code
<?php $user_key="Your User Key"; $user_secret="Your User Secret"; $service_url = 'https://api.medianova.com/v1/geoblocking/stream/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": [ { "id": 8971, "zone_id": 6228, "label": "Geoblock Label", "status": 1, "created_at": "2018-08-27T15:41:08+0300", "start_date": "2018-08-27 15:45:00", "end_date": "2018-08-27 15:55:00", "countries": [ "AO" ], "white_ip_list": [], "black_ip_list": [] } ] }, "opid": "IuNYKCU4rALwVa9k" }