API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
CDN resource ID.
Rule name.
255"My first rule"
Path to the file or folder for which the rule will be applied.
The rule is applied if the requested URI matches the rule path.
We add a leading forward slash to any rule path. Specify a path without a forward slash.
300"/folder/images/*.png"
Rule type.
Possible values:
0 <= x <= 10
Enables or disables a rule.
Possible values:
true
Rule execution order: from lowest (1) to highest.
If requested URI matches multiple rules, the one higher in the order of the rules will be applied.
1 <= x <= 21474836471
Sets a protocol other than the one specified in the CDN resource settings to connect to the origin.
Possible values:
originProtocol setting is inherited from the CDN resource settings.HTTPS, HTTP, MATCH ID of the origin group to which the rule is applied.
If the origin group is not specified, the rule is applied to the origin group that the CDN resource is associated with.
null
List of options that can be configured for the rule.
In case of null value the option is not added to the rule.
Option inherits its value from the CDN resource settings.
Created.
Rule ID.
5
Rule name.
255"My first rule"
Enables or disables a rule.
Possible values:
true
Defines whether the rule has been deleted.
Possible values:
false
ID of the origin group to which the rule is applied.
If the origin group is not specified, the rule is applied to the origin group that the CDN resource is associated with.
null
Path to the file or folder for which the rule will be applied.
The rule is applied if the requested URI matches the rule path.
We add a leading forward slash to any rule path. Specify a path without a forward slash.
300"/folder/images/*.png"
Rule type.
Possible values:
0 <= x <= 10
Rule execution order: from lowest (1) to highest.
If requested URI matches multiple rules, the one higher in the order of the rules will be applied.
1 <= x <= 21474836471
Protocol used by CDN servers to request content from an origin source.
Possible values:
HTTPS, HTTP, MATCH "HTTPS"
Sets a protocol other than the one specified in the CDN resource settings to connect to the origin.
Possible values:
originProtocol setting is inherited from the CDN resource settings.HTTPS, HTTP, MATCH Defines whether the rule has an applied preset.
Possible values:
If a preset is applied to the rule, the options included in the preset cannot be edited for the rule.
false
ID of the rule with which the current rule is synchronized within the CDN resource shared cache zone feature.
null
List of options that can be configured for the rule.
In case of null value the option is not added to the rule.
Option inherits its value from the CDN resource settings.