{ "operationId": "post-match-targets", "method": "POST", "path": "/configs/{configId}/versions/{versionNumber}/match-targets", "summary": "Create a match target", "requestExamples": [ { "contentType": "application/json", "example": { "bypassNetworkLists": [ { "id": "888518_ACDDCKERS" }, { "id": "1304427_AAXXBBLIST" } ], "defaultFile": "NO_MATCH", "fileExtensions": [ "wmls", "jpeg", "pws", "carb", "pdf", "js", "hdml", "cct", "swf", "pct" ], "filePaths": [ "/sssi/*", "/cache/aaabbc*", "/price_toy/*" ], "hostnames": [ "example.com", "www.example.net", "m.example.com" ], "isNegativeFileExtensionMatch": true, "isNegativePathMatch": false, "securityPolicy": { "policyId": "fwsf_32432" }, "type": "website" } } ], "responseExamples": [ { "status": "201", "contentType": "application/json", "example": { "bypassNetworkLists": [ { "id": "888518_ACDDCKERS", "name": "Test network list 1" }, { "id": "1304427_AAXXBBLIST", "name": "Test network list 2" } ], "configId": 77653, "configVersion": 25, "defaultFile": "NO_MATCH", "effectiveSecurityControls": { "applyApiConstraints": false, "applyApplicationLayerControls": true, "applyBotmanControls": false, "applyNetworkLayerControls": false, "applyRateControls": true, "applyReputationControls": false, "applySlowPostControls": false }, "fileExtensions": [ "wmls", "jpeg", "pws", "carb", "pdf", "js", "hdml", "cct", "swf", "pct" ], "filePaths": [ "/sssi/*", "/cache/aaabbc*", "/price_toy/*" ], "hostnames": [ "example.com", "www.example.net", "m.example.com" ], "isNegativeFileExtensionMatch": true, "isNegativePathMatch": false, "securityPolicy": { "policyId": "fwsf_32432" }, "sequence": 1, "targetId": 112231, "type": "website" } }, { "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" } } ] }