Get preset details
Get information about a preset.
Authorizations
API key for authentication. Make sure to include the word apikey, followed by a single space and then your token.
Example: apikey 1234$abcdef
Path Parameters
Preset ID.
Response
Successful.
Preset ID.
42
Preset name.
"Static content acceleration"
Service the preset belongs to.
cdn "cdn"
Type of object the preset can be applied to.
Possible values:
- CDNResource - Preset is applied to a CDN resource.
- Rule - Preset is applied to a rule.
CDNResource, Rule "CDNResource"
CDN resource or rule settings that the preset applies to the target object, including the options object.
The available keys match the writable fields of the object type the preset targets (object_type).
Options included in the preset cannot be edited on the object while the preset is applied.
{
"options": {
"browser_cache_settings": { "enabled": true, "value": "3600s" },
"gzipOn": { "enabled": true, "value": true }
}
}