You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{
"debug_info": {
"Site has no Cache rules": "GET - /api/prov/v2/sites/***/settings/cache/rules/",
"id-info": "999999"
},
"res": 0,
"res_message": "OK"
}
Scripts can currently check for the existence of the debug_info key to determine if there are existing rules or not - however, if we restructure the output like the example below, the check for debug_info could be eliminated and we'd have a consistent output.
The
cache list-cache-settings-rule
operation returns inconsistent structure when cache rules are defined vs when they are not:Cache Rules Exist
No Cache Rules
Scripts can currently check for the existence of the
debug_info
key to determine if there are existing rules or not - however, if we restructure the output like the example below, the check fordebug_info
could be eliminated and we'd have a consistent output.The text was updated successfully, but these errors were encountered: