APIs.io Engineering Platform · Schema
zones_automatic_platform_optimization
APIs.ioEngineeringPlatform
Properties
| Name | Type | Description |
|---|---|---|
| cache_by_device_type | boolean | Indicates whether or not [cache by device type](https://developers.cloudflare.com/automatic-platform-optimization/reference/cache-device-type/) is enabled. |
| cf | boolean | Indicates whether or not Cloudflare proxy is enabled. |
| enabled | boolean | Indicates whether or not Automatic Platform Optimization is enabled. |
| hostnames | array | An array of hostnames where Automatic Platform Optimization for WordPress is activated. |
| wordpress | boolean | Indicates whether or not site is powered by WordPress. |
| wp_plugin | boolean | Indicates whether or not [Cloudflare for WordPress plugin](https://wordpress.org/plugins/cloudflare/) is installed. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/zones_automatic_platform_optimization",
"title": "zones_automatic_platform_optimization",
"properties": {
"cache_by_device_type": {
"description": "Indicates whether or not [cache by device type](https://developers.cloudflare.com/automatic-platform-optimization/reference/cache-device-type/) is enabled.",
"example": false,
"type": "boolean"
},
"cf": {
"default": false,
"description": "Indicates whether or not Cloudflare proxy is enabled.",
"example": true,
"type": "boolean"
},
"enabled": {
"default": false,
"description": "Indicates whether or not Automatic Platform Optimization is enabled.",
"example": true,
"type": "boolean"
},
"hostnames": {
"description": "An array of hostnames where Automatic Platform Optimization for WordPress is activated.",
"example": [
"www.example.com",
"example.com",
"shop.example.com"
],
"items": {
"format": "hostname",
"type": "string"
},
"type": "array"
},
"wordpress": {
"default": false,
"description": "Indicates whether or not site is powered by WordPress.",
"example": true,
"type": "boolean"
},
"wp_plugin": {
"default": false,
"description": "Indicates whether or not [Cloudflare for WordPress plugin](https://wordpress.org/plugins/cloudflare/) is installed.",
"example": true,
"type": "boolean"
}
},
"required": [
"enabled",
"cf",
"wordpress",
"wp_plugin",
"hostnames",
"cache_by_device_type"
],
"type": "object"
}