Akamai · Example Payload

Akamai Post Config Versions Example

CDNCloudEdge ComputingNetworksPlatformSecurity

Akamai Post Config Versions 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-versions",
  "method": "POST",
  "path": "/configs/{configId}/versions",
  "summary": "Clone a configuration version",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "createFromVersion": 1,
        "ruleUpdate": false
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "basedOn": 1,
        "configId": 48579,
        "configName": "TestConfig",
        "createDate": "2013-10-07T17:58:52Z",
        "createdBy": "hgildong",
        "production": {
          "status": "Active",
          "time": "2014-07-08T07:40:00Z"
        },
        "staging": {
          "status": "Inactive"
        },
        "version": 2,
        "versionNotes": "Membership Benefits"
      }
    },
    {
      "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"
      }
    },
    {
      "status": "412",
      "contentType": "application/problem+json",
      "example": {
        "detail": "The requested resource is in use and cannot be modified",
        "instance": "https://problems.luna.akamaiapis.net/appsec/error-instances/d54686b5-21cb-4ab7-a8d6-a92282cf1749",
        "status": 412,
        "title": "Precondition Failed",
        "type": "https://problems.luna.akamaiapis.net/appsec-resource/error-types/PRECONDITION-FAILED"
      }
    }
  ]
}