Home
Akamai
Akamai Post Challenge Action Example
Akamai Post Challenge Action Example
CDN Cloud Edge Computing Networks Platform Security
Akamai Post Challenge Action 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
operationId method path summary requestExamples responseExamples
Example Payload
{
"operationId": "post-challenge-action",
"method": "POST",
"path": "/configs/{configId}/versions/{versionNumber}/response-actions/challenge-actions",
"summary": "Create a challenge action",
"requestExamples": [
{
"contentType": "application/json",
"example": {
"actionName": "new challenge 4",
"allowFullCpuUtilization": true,
"challengeIntervalInSeconds": 723,
"challengeType": "AKAMAI_WEB_CRYPTO",
"cryptoChallengeDurationInSeconds": 100,
"customBrandingUrl": "/abcd.html"
}
}
],
"responseExamples": [
{
"status": "201",
"contentType": "application/json",
"example": {
"actionId": "challenge_108949",
"actionName": "new challenge 4",
"allowFullCpuUtilization": true,
"challengeIntervalInSeconds": 723,
"challengeType": "AKAMAI_WEB_CRYPTO",
"cryptoChallengeDurationInSeconds": 100,
"customBrandingUrl": "/abcd.html"
}
},
{
"status": "400",
"contentType": "application/problem+json",
"example": {
"detail": "Validation failed",
"errors": [
{
"detail": "#/actionName: is missing but it is required",
"member": "#/actionName",
"title": "Invalid Input Error",
"type": "https://problems.luna.akamaiapis.net/appsec-resource/error-types/INVALID-INPUT-ERROR"
},
{
"detail": "#/defaultAction: is missing but it is required",
"member": "#/defaultAction",
"title": "Invalid Input Error",
"type": "https://problems.luna.akamaiapis.net/appsec-resource/error-types/INVALID-INPUT-ERROR"
}
],
"instance": "https://problems.luna.akamaiapis.net/appsec-resource/error-instances/5fae03812da3853f",
"status": 400,
"title": "Invalid Input Error",
"type": "https://problems.luna.akamaiapis.net/appsec-resource/error-types/INVALID-INPUT-ERROR"
}
},
{
"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"
}
}
]
}