Presets
Get presets list
Changed onGet 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.
get/cdn/presets
Request
- Base URLhttps://api.gcore.com
- URLhttps://api.gcore.com/cdn/presets
- AuthHTTP apikey
Query parameters
limitinteger
Maximum number of items to return in the response. Cannot exceed 1000.
offsetinteger
Number of items to skip from the beginning of the list.
Response
Successful.
Example response
[
{
"id": 42,
"name": "Static content acceleration",
"service": "cdn",
"object_type": "CDNResource",
"preset_settings": {
"options": {
"gzipOn": {
"enabled": true,
"value": true
}
}
}
}
]Changes
- info
endpoint added
- info