Rule templates
Get rule templates list
Changed onget/cdn/resources/rule_templates
Request
- Base URLhttps://api.gcore.com
- URLhttps://api.gcore.com/cdn/resources/rule_templates
- 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": 5,
"name": "All images template",
"client": 7,
"deleted": false,
"rule": "/folder/images/*.png",
"ruleType": 0,
"weight": 1,
"template": true,
"default": false,
"overrideOriginProtocol": "HTTPS"
}
]Changes
- info
added the optional property
////to the response with the status - info
added the optional property
//////to the response with the status
- info
- warning
removed the optional property
///from the response with the status - warning
removed the optional property
/////from the response with the status
- warning