Skip to content

Get site data bundle

Start from the script setup block, then add the snippet code below.

# ... script setup ...
SITE_ID = "your-site-id"
BUNDLE_ID = "your-bundle-id"
bundle = api_get(f"/v1/site/{SITE_ID}/bundles/{BUNDLE_ID}")
print(json.dumps(bundle, indent=2))