Stook Zone Listeleme

Aşağıdaki bilgileri kullanarak API ile Stook servisinde sahip olduğunuz zoneları listeleyebilirsiniz.

Parametreler

Değişken Tipleri

Örnek PHP Kodu

<?php
$user_key="Your User Key"; 
$user_secret="Your User Secret";
$service_url = 'https://api.medianova.com/v1/zone/list?user_key='.$user_key.'&user_secret='.$user_secret;
$ch = curl_init($service_url);
curl_setopt($ch,CURLOPT_CRLF, true);
$curl_response = curl_exec($ch);
curl_close($curl);
$decoded = json_decode($curl_response); 
?>

Örnek Çıktı

{
    "status": true,
    "data": {
        "Your Group": {
           "fd1cb4b62.mncdn.com": {
                "zone_id": 4706,
                "name": "fd1cb4b62.mncdn.com",
                "alias": "fd1cb4b62.mncdn.com",
                "type": "Stook"
            },
            "ac86cb64c.mncdn.com": {
                "zone_id": 4714,
                "name": "ac86cb64c.mncdn.com",
                "alias": "ac86cb64c.mncdn.com",
                "type": "Stook"
            }
        }
    },
    "opid": "576UWnEydPJfXAYB"
}