{ "operationId": "get-recommendations-rule", "method": "GET", "path": "/configs/{configId}/versions/{versionNumber}/security-policies/{policyId}/recommendations/rules/{ruleId}", "summary": "List tuning recommendations for a rule", "requestExamples": [], "responseExamples": [ { "status": "200", "contentType": "application/json", "example": { "declinedRecommendations": [ { "description": "100001 recommendation", "exceptions": [ { "selector": { "enhanced": false, "names": [ "XML-PAIR-02-TEST" ], "selector": "XML_PAIRS", "type": "AAG_SPECIFIC", "wildcard": true }, "selectorId": 19557 } ] } ], "id": 100001, "recommendations": [ { "description": "Description for SQL", "exceptions": [ { "selector": { "enhanced": false, "names": [ "JSON_PAIR_001" ], "selector": "JSON_PAIRS", "type": "AAG_SPECIFIC", "wildcard": true }, "selectorId": 84220 } ] } ] } }, { "status": "403", "contentType": "application/problem+json", "example": { "detail": "You do not have the necessary access to perform this operation or the requested resource cannot be modified", "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749", "status": 403, "title": "Forbidden", "type": "https://problems.luna.akamaiapis.net/appsec-resource/error-types/ACCESS-DENIED" } }, { "status": "404", "contentType": "application/problem+json", "example": { "detail": "The requested resource is not found", "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749", "status": 404, "title": "Not Found", "type": "https://problems.luna.akamaiapis.net/appsec/error-types/NOT-FOUND" } } ] }