{ "operationId": "get-policies", "method": "GET", "path": "/configs/{configId}/versions/{versionNumber}/security-policies", "summary": "List security policies", "requestExamples": [], "responseExamples": [ { "status": "200", "contentType": "application/json", "example": { "configId": 51074, "policies": [ { "hasRatePolicyWithApiKey": true, "policyId": "NN3_61", "policyName": "NN FW 3", "policySecurityControls": { "applyApiConstraints": false, "applyApplicationLayerControls": true, "applyBotmanControls": true, "applyNetworkLayerControls": true, "applyRateControls": false, "applyReputationControls": false, "applySlowPostControls": false } }, { "hasRatePolicyWithApiKey": false, "policyId": "NN_2", "policyName": "NN FW 1", "policySecurityControls": { "applyApiConstraints": false, "applyApplicationLayerControls": true, "applyBotmanControls": false, "applyNetworkLayerControls": true, "applyRateControls": false, "applyReputationControls": false, "applySlowPostControls": false } }, { "hasRatePolicyWithApiKey": true, "policyId": "NN-2_3", "policyName": "NN FW 2", "policySecurityControls": { "applyApiConstraints": false, "applyApplicationLayerControls": true, "applyBotmanControls": false, "applyNetworkLayerControls": true, "applyRateControls": false, "applyReputationControls": false, "applySlowPostControls": false } } ], "version": 8 } }, { "status": "400", "contentType": "application/problem+json", "example": { "detail": "The request could not be understood by the server due to malformed syntax.", "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749", "status": 400, "title": "Bad Request", "type": "https://problems.luna.akamaiapis.net/appsec/error-types/BAD-REQUEST" } }, { "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" } } ] }