Hit / Miss Report for the VOD Object

Please note that in our new cloud panel, Zones are named as CDN Resources. (Zone ID = CDN Resource ID)

Returns the hit/miss ratio for the progressive zone for VOD object

Parameters

Return Values

Example PHP Code

<?php
$user_key="Your User Key";
$user_secret="Your User Secret";
$service_url = 'https://api.medianova.com/v1/report/cache-status?user_key='.$user_key.'&user_secret='.$user_secret.'&zone_ids[]={zone_id}&from={date}&to={date}';
$ch = curl_init($service_url);
$curl_response = curl_exec($ch);
curl_close($curl);
$decoded = json_decode($curl_response);
?>

Example Output

{
  "status": true,
  "data": [
    {
      "hit": 95.3,
      "miss": 4.7
    }
  ]
}