Skip to main content

schemas

Creates, updates, deletes, gets or lists a schemas resource.

Overview

Nameschemas
TypeResource
Idcloudflare.api_gateway.schemas

Fields

The following fields are returned by SELECT queries:

Retrieve operations and features as OpenAPI schemas response

NameDatatypeDescription
schemasarray
timestampstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectzone_idhost, 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.

NameDatatypeDescription
zone_idstringThe Cloudflare zone ID.
featurearrayAdd 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.
hostarray

SELECT examples

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 }}'
;