Cache Configurations

Retrieve a cache configuration

Retrieves a single cache configuration.

get/v3/cache-configurations/{id}

Request

  • Base URL: https://demo.api.zephr.com
  • URL: https://demo.api.zephr.com/v3/cache-configurations/{id}
  • Auth: HTTP zephr-hmac-*

Path parameters

idstring required

Unique Cache Configuration identifier

Response

OK

labelstring

Example response

{
  "label": "Test",
  "conditions": {
    "url_pattern": "^/forum",
    "header_patterns": {
      "Content-Type": "^text/html"
    }
  },
  "redirect": {
    "target": "/some/path",
    "status": 301
  }
}

Changes

No recorded changes to this operation across all 1 revision of this API.