Akamai · Example Payload

Akamai Put Sandbox Properties Rules Example

CDNCloudEdge ComputingNetworksPlatformSecurity

Akamai Put Sandbox Properties Rules 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": "put-sandbox-properties-rules",
  "method": "PUT",
  "path": "/sandboxes/{sandboxId}/properties/{sandboxPropertyId}/rules",
  "summary": "Update a rule tree",
  "requestExamples": [
    {
      "contentType": "application/json",
      "example": {
        "rules": {
          "name": "default",
          "children": [
            {
              "criteriaMustSatisfy": "all",
              "name": "Handle /my-path",
              "behaviors": [
                {
                  "behavior": "max-age",
                  "name": "caching",
                  "ttl": "5m"
                }
              ],
              "criteria": [
                {
                  "name": "path",
                  "value": [
                    "/my-path"
                  ]
                }
              ]
            }
          ]
        }
      }
    }
  ],
  "responseExamples": [
    {
      "status": "200",
      "contentType": "application/json",
      "example": {
        "ruleFormat": "latest",
        "editedRuleBehaviors": [
          "cpCode"
        ],
        "filteredRuleBehaviors": [
          "http2"
        ],
        "_links": {
          "property": {
            "href": "/sandbox-api/v1/sandboxes/e43a53d6-7430-11e8-8f80-0242ac110007/properties/e4ae2447-7430-11e8-8f80-0242ac110007"
          },
          "sandbox": {
            "href": "/sandbox-api/v1/sandboxes/e43a53d6-7430-11e8-8f80-0242ac110007"
          },
          "self": {
            "href": "/sandbox-api/v1/sandboxes/e43a53d6-7430-11e8-8f80-0242ac110007/properties/e4ae2447-7430-11e8-8f80-0242ac110007/rules"
          }
        },
        "validationWarnings": [
          {
            "detail": "If your `Origin Server` uses HTTPS, make sure to follow <a href=\"/dl/property-manager/property-manager-help/csh_lookup.html?id=PM_0034\" target=\"_blank\">this procedure</a> to avoid a service outage or a security breach when you rotate your origin's certificate.",
            "errorLocation": "#/rules/behaviors/0",
            "type": "https://problems.luna.akamaiapis.net/papi/v1/validation/validation_message.ssl_delegate_warning_rotate"
          }
        ]
      }
    }
  ]
}