Akamai · Example Payload

Akamai Post Config Example

CDNCloudEdge ComputingNetworksPlatformSecurity

Akamai Post Config 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-config",
  "method": "POST",
  "path": "/configs",
  "summary": "Create a configuration",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "contractId": "C-0N7RAC7",
        "description": "description1",
        "groupId": 32145,
        "hostnames": [
          "new.example.com",
          "www.example.com"
        ],
        "name": "newapitest"
      }
    }
  ],
  "responseExamples": [
    {
      "status": "201",
      "contentType": "application/json",
      "example": {
        "configId": 71710,
        "description": "description1",
        "hostnames": [
          "www.abc.com",
          "www.xyz.com"
        ],
        "name": "newapitest",
        "version": 1
      }
    },
    {
      "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"
      }
    }
  ]
}