Get presets list
Get the list of presets available to your account.
A preset is a predefined set of CDN resource or rule settings that can be applied to an object in one request.
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
Query Parameters
Maximum number of items to return in the response. Cannot exceed 1000.
1 <= x <= 1000Number of items to skip from the beginning of the list.
x >= 0Response
Successful.
- Plain list · object[]
- Paginated list · object
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 }
}
}