Presets
Get CDN resource applied preset fields
Changed onGet the preset applied to a CDN resource and the list of resource fields managed by the preset.
get/cdn/resources/{resource_id}/preset
Request
- Base URLhttps://api.gcore.com
- URLhttps://api.gcore.com/cdn/resources/{resource_id}/preset
- AuthHTTP apikey
Path parameters
resource_idinteger required
CDN resource ID.
Response
Successful.
Example response
{
"id": 42,
"name": "Static content acceleration",
"deletable": true,
"fields": [
"options.gzipOn",
"options.browser_cache_settings"
]
}Changes
- info
endpoint added
- info