Akamai · Example Payload
Akamai Get Url Protection Policies Example
CDNCloudEdge ComputingNetworksPlatformSecurity
Akamai Get Url Protection Policies Example is an example object payload from Akamai, with 6 top-level fields. It illustrates the shape of data this provider's APIs accept or return.
Top-level fields
operationIdmethodpathsummaryrequestExamplesresponseExamples
Example Payload
{
"operationId": "get-url-protection-policies",
"method": "GET",
"path": "/configs/{configId}/versions/{versionNumber}/url-protections",
"summary": "List URL protection policies",
"requestExamples": [],
"responseExamples": [
{
"status": "200",
"contentType": "application/json",
"example": {
"urlProtectionPolicies": [
{
"categories": [
{
"type": "BOTS"
},
{
"listIds": [
"12345_IPCLIENTLISTFEB09"
],
"positiveMatch": true,
"type": "CLIENT_LIST"
},
{
"type": "CLOUD_PROVIDERS"
},
{
"type": "PROXIES"
},
{
"type": "TOR_EXIT_NODES"
},
{
"type": "PLATFORM_DDOS_INTELLIGENCE"
}
],
"configId": 43007,
"configVersion": 40,
"createDate": "2023-04-26T03:02:43Z",
"createdBy": "mrossi",
"description": "protect APIs",
"hostnamePaths": [
{
"hostname": "api.custom.com",
"paths": [
"/payments"
]
},
{
"hostname": "staging.api.custom.com",
"paths": [
"/inventory",
"/payments"
]
}
],
"intelligentLoadShedding": true,
"name": "Second URL Protection Policy",
"policyId": 745,
"protectionType": "MULTIPLE",
"rateThreshold": 1100,
"sheddingThresholdHitsPerSec": 880,
"updateDate": "2023-04-26T03:02:43Z",
"updatedBy": "jkowalski",
"used": false
},
{
"categories": [
{
"type": "BOTS"
},
{
"listIds": [
"16656_CPISERVERS"
],
"positiveMatch": true,
"type": "CLIENT_LIST"
},
{
"type": "CLOUD_PROVIDERS"
},
{
"type": "PROXIES"
},
{
"type": "TOR_EXIT_NODES"
},
{
"type": "PLATFORM_DDOS_INTELLIGENCE"
}
],
"configId": 43007,
"configVersion": 40,
"createDate": "2023-04-14T18:58:53Z",
"createdBy": "szhang",
"description": "URL Protection",
"hostnamePaths": [
{
"hostname": "custom.com",
"paths": [
"/Hamza-path",
"/asd",
"/my-test-path"
]
}
],
"intelligentLoadShedding": true,
"name": "Transaction site protection",
"policyId": 681,
"protectionType": "MULTIPLE",
"rateThreshold": 195,
"sheddingThresholdHitsPerSec": 150,
"updateDate": "2023-04-26T02:42:28Z",
"updatedBy": "afero",
"used": true
}
]
}
},
{
"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"
}
}
]
}