speed_api_pages
Creates, updates, deletes, gets or lists a speed_api_pages resource.
Overview
| Name | speed_api_pages |
| Type | Resource |
| Id | cloudflare.speed.speed_api_pages |
Fields
The following fields are returned by SELECT queries:
- list_by_zone
List of pages.
| Name | Datatype | Description |
|---|---|---|
region | object | A test region with a label. |
scheduleFrequency | string | The frequency of the test. (DAILY, WEEKLY) (example: DAILY) |
tests | array | |
url | string | A URL. (example: example.com) |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list_by_zone | select | zone_id | Lists all webpages which have been tested. |
Parameters
Parameters can be passed in the WHERE clause of a query. Check the Methods section to see which parameters are required or optional for each operation.
| Name | Datatype | Description |
|---|---|---|
zone_id | string | The Cloudflare zone ID. |
SELECT examples
- list_by_zone
Lists all webpages which have been tested.
SELECT
region,
scheduleFrequency,
tests,
url
FROM cloudflare.speed.speed_api_pages
WHERE zone_id = '{{ zone_id }}' -- required
;