schemas
Creates, updates, deletes, gets or lists a schemas resource.
Overview
| Name | schemas |
| Type | Resource |
| Id | cloudflare.api_gateway.schemas |
Fields
The following fields are returned by SELECT queries:
- list
Retrieve operations and features as OpenAPI schemas response
| Name | Datatype | Description |
|---|---|---|
schemas | array | |
timestamp | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | zone_id | host, feature |
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. |
feature | array | Add feature(s) to the results. The feature name that is given here corresponds to the resulting feature object. Have a look at the top-level object description for more details on the specific meaning. |
host | array |
SELECT examples
- list
Retrieve operations and features as OpenAPI schemas response
SELECT
schemas,
timestamp
FROM cloudflare.api_gateway.schemas
WHERE zone_id = '{{ zone_id }}' -- required
AND host = '{{ host }}'
AND feature = '{{ feature }}'
;