Skip to main content

configs

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

Overview​

Nameconfigs
TypeResource
Idcloudflare.zaraz.configs

Fields​

The following fields are returned by SELECT queries:

Get Zaraz historical configurations by ID(s) response.

NameDatatypeDescription
errorsarray
messagesarray
resultobjectObject where keys are numeric configuration IDs.
successbooleanWhether the API call was successful.

Methods​

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectzone_ididsGets a history of published Zaraz configurations by ID(s) for a zone.

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.
idsarrayComma separated list of Zaraz configuration IDs.

SELECT examples​

Gets a history of published Zaraz configurations by ID(s) for a zone.

SELECT
errors,
messages,
result,
success
FROM cloudflare.zaraz.configs
WHERE zone_id = '{{ zone_id }}' -- required
AND ids = '{{ ids }}'
;