Overview
When you create a workspace with the Download_Delivery product ID, Delivery Manager seeds every new environment version with a pre-populated group of settings. These settings are the foundational layer of your configuration: they sit at the top of the default rule set and apply to every incoming request unless a rule lower in the tree overrides them.
The values are tuned for Download Delivery's profile — large files, typically over 100 MB, where throughput and completion rate matter more than time to first byte. The template is small: eight settings, and the two that most affect delivery are declarations about your content rather than switches.
This page explains the JSON syntax of that template, what each setting does, why it ships with the value it does, and which values you must change before your first activation.
Download Delivery isDownload_Delivery
Download_Deliveryis the product ID for Download Delivery in the Delivery Manager API. List products returns it for every contract that's entitled to it.
Where the defaults come from
Two operations matter:
| Operation | Method and endpoint | What you get |
|---|---|---|
| Get product definition | GET /products/Download_Delivery | newEnvironmentVersionTemplate — the exact object new environment versions start from — plus settingsCategories, behaviorDefinitions, validationRules, and latestRuleFormat |
| Create an environment version | POST /workspaces/{workspaceName}/environments/{environmentName}/versions | The version the template was applied to |
Read the template before you write your first environment version. It's the only place the shipped values are expressed in full, and it's versioned: catalogVersion and latestRuleFormat in the same response tell you which catalog produced them.
Two different "defaults" exist — don't confuse them
behaviorDefinitions[<behavior>].options[*].defaultValis the behavior schema default: the value a behavior falls back to anywhere in a rule tree.newEnvironmentVersionTemplateis the Download Delivery product template: what your environment version is actually created with. The product template overrides the schema default for cache key handling. When this page says "ships as," it means the product template. Reference pages under Behaviors describe the schema, not the product template.
Syntax
The settings object
Default settings live in the defaultRuleSet.defaultSettings array of an environment version. Each entry is a behavior object with two members:
{
"name": "cacheKeyQueryParams",
"options": {
"behavior": "IGNORE_ALL"
}
}name— the behavior's API name, camelCase. It's the same name the Behaviors reference uses.options— the behavior's options. Option availability is often conditional: an option only belongs in the object when its parent option has the right value. Each behavior's reference page states those dependencies in its Requires column.
Array order carries no meaning. Two entries with the same name aren't allowed in defaultSettings.
Template behaviors
Two of the eight settings end in Template — setOriginTemplate and deploymentNetworkTemplate. These are composite behaviors: one object standing in for what a classic property expressed as several separate behaviors. The rest of the template uses individual behaviors directly.
Template behaviors are valid only in defaultSettings. Don't put them in rules[] or in a custom rule set — use the equivalent individual behaviors there.
defaultSettingsEnabled
defaultSettingsEnableddefaultRuleSet.defaultSettingsEnabled controls whether the product's optimized group of features applies to the version at all:
{
"defaultRuleSet": {
"defaultSettingsEnabled": true,
"defaultSettings": [ ... ],
"rules": [ ... ]
}
}Keep it true unless you have a specific reason to build a configuration from bare behaviors. Setting it to false discards the baseline described on this page, and you then own every value in it — including the four that validation requires.
Changing a default value
Use a read-modify-write cycle against the version itself:
GET /products/Download_Deliveryonce, to see the shipped template and the catalog version it came from.POST .../versionsto create the version, orGET .../versions/{version}to read the one you have.- Modify the
defaultSettingsentries you care about. PUT /workspaces/{workspaceName}/environments/{environmentName}/versions/{version}with thedefaultSettingsarray in full.
Sending the complete array is the safe pattern: it's explicit about every value, it's diffable in source control, and it behaves identically whether you're creating or updating a version.
You can edit a version until it's activated. After activation, create a new version.
The UI writes to the same placeChanges made on the Settings tab are synchronized with the Default settings rule under the Default rule set, which is the
defaultRuleSet.defaultSettingsarray this page describes.
What you must change before activating
| Setting | Ships as | What you need to do |
|---|---|---|
originCharacteristics | Not in the template | Blocks activation. validationRules requires it in the default rule, but the template doesn't seed it. Add it with your origin's authentication method and geography. |
enhancedDebug.debugKey | "" | Generate a 64-byte hex string and set it. An empty mandatory key is what most first versions fail on. |
origins[].options | {} | Set your origin's hostname and any authentication options. The template only names the origin (main). |
cpCode | enableDefaultContentProviderCode: true | Fine for a first test. To report or bill this traffic separately, pin an explicit CP code. |
contentCharacteristicsDD | All UNKNOWN, optimizeOption: false | Not a blocker, but the edit with the most delivery impact on this product. optimizeOption is Large File Optimization, and it ships off. |
originCharacteristicsis required but not seededDownload Delivery's
validationRuleslistsoriginCharacteristicsamong the behaviors the default rule must configure, and the shipped template doesn't include it. An otherwise untouched version therefore can't be activated. Use Get validation resources to confirm what your version needs before you try.
Settings categories
settingsCategories in the product definition groups the settings for display. The grouping is presentational — it doesn't affect evaluation — but it's what the UI's category pages are named after.
Download Delivery has four categories. There's no failover and no payload-minimization group: the files this product carries are already compressed, and compressing them again on the fly costs CPU for nothing.
categoryName | Behaviors | API documentation | UI documentation |
|---|---|---|---|
origin | setOriginTemplate | Origin | Origin |
reporting_logging | cpCode, contentCharacteristicsDD, enhancedDebug | Reporting and logging | Reporting & Logging |
accelerate_delivery_offload_origin | cacheKeyQueryParams, dynamicThroughtputOptimization, http3 | Accelerate Delivery & Offload Origin | Accelerate Delivery & Offload Origin |
access_control_security | deploymentNetworkTemplate | Access Control & Security | Access Control & Security |
Validation
validationRules in the product definition states what Download Delivery requires of any environment version:
{
"validation": {
"required_features": {
"default_rule": [
"origin",
"cpCode",
"originCharacteristics",
"contentCharacteristicsDD"
]
}
}
}default_rule— four behaviors must be configured in your default settings. The template satisfies three of them (setOriginTemplate,cpCode,contentCharacteristicsDD);originCharacteristicsis yours to add.- No
any_rulerequirement. Caching doesn't have to be configured anywhere in the tree.
Validation runs on activation, not on POST or PUT, so a version can be saved and still be unactivatable.
Overriding a default for some requests
Default settings apply to every request. To change behavior for a subset, don't edit the default settings — add a rule. Rule configuration evaluates top down and the bottom-most match wins:
{
"defaultRuleSet": {
"defaultSettingsEnabled": true,
"defaultSettings": [ ... ],
"rules": [
{
"name": "Long TTL for released installers",
"description": "Immutable build artifacts can be held at the edge",
"criteria": [
{
"name": "path",
"options": {
"values": ["/releases/*"]
}
}
],
"behaviors": [
{
"name": "caching",
"options": {
"behavior": "MAX_AGE",
"ttl": "30d"
}
}
],
"tags": ["caching"]
}
]
}
}For logic you want to share or version separately, use a custom rule set and position it with ruleSetOrder. See Rule configuration logic for precedence and nesting.
What's not in the default settings
The catalog carries far more behaviors than the eight the template seeds. Everything else your contract entitles is available through standalone behaviors and match criteria — it's just not pre-configured, and you add it to a rule rather than to defaultSettings.
Check behaviorDefinitions in the product definition for the full Download Delivery catalog and the behavior versions your rule format supports.
Coming from a Download Delivery property
If you're porting a PAPI configuration, two things change.
Shape. A classic property arrived as pre-added child rules under the Default Rule, each holding individual behaviors. Here, one flat defaultSettings array holds them, with setOriginTemplate and deploymentNetworkTemplate standing in for what used to be several behaviors each.
Values. cacheKeyQueryParams ships as IGNORE_ALL, an override of the behavior's own INCLUDE_ALL_PRESERVE_ORDER default, and contentCharacteristicsDD.optimizeOption ships off. Diff your property's default rule against the template before you assume anything carried over.
