Skip to main content

Stook Zone Detail

You can view your zone details for your Stook service with the API using the following information.

Parameters

Parameter

Type

Required

Description

user_key

string

Yes

API User Key

user_secret

string

Yes

API User Secret

zone_id

integer

Yes

Zone Id

Return Values

Variable

Type

status

bool

data

object

Example PHP Code

CODE
<?php
$user_key="Your User Key"; 
$user_secret="Your User Secret";
$zone_id="Your Zone Id";
$service_url = 'https://api.medianova.com/v1/zone/detail?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($ch);
$decoded = json_decode($curl_response);
?>

Example Output

CODE
{
    "status": true,
    "data": {
        "id": 4706,
        "label": "Stook Label",
        "name": "0fbf7c5ca",
        "cdn_url": "0fbf7c5ca.mncdn.com",
        "access_key": "Access-Key",
        "secret_key": "Secret-Key",
        "status": true
    },
    "opid": "3eDQHNgYPmrkhWVp"
}

JavaScript errors detected

Please note, these errors can depend on your browser setup.

If this problem persists, please contact our support.