Get zone
Start from the script setup block, then add the snippet code below.
# ... script setup ...
TWIN_ID = "your-twin-id"ZONE_ID = "your-zone-id"
zone = api_get(f"/v1/twin/{TWIN_ID}/zones/{ZONE_ID}")print(json.dumps(zone, indent=2))Start from the script setup block, then add the snippet code below.
# ... script setup ...
TWIN_ID = "your-twin-id"ZONE_ID = "your-zone-id"
zone = api_get(f"/v1/twin/{TWIN_ID}/zones/{ZONE_ID}")print(json.dumps(zone, indent=2))