Akamai · Example Payload

Akamai Post Challenge Action Example

CDNCloudEdge ComputingNetworksPlatformSecurity

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

operationIdmethodpathsummaryrequestExamplesresponseExamples

Example Payload

Raw ↑
{
  "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"
      }
    }
  ]
}