Skip to main content

origins

Creates, updates, deletes, gets or lists an origins resource.

Overview

Nameorigins
TypeResource
Idcloudflare.radar.origins

Fields

The following fields are returned by SELECT queries:

Successful response.

NameDatatypeDescription
originobject

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectslugformatRetrieves the requested origin information with its regions.
listselectlimit, offset, formatRetrieves a list of origins with their regions.

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
slugstringOrigin slug.
formatstringFormat in which results will be returned.
limitintegerLimits the number of objects returned in the response.
offsetintegerSkips the specified number of objects before fetching the results.

SELECT examples

Retrieves the requested origin information with its regions.

SELECT
origin
FROM cloudflare.radar.origins
WHERE slug = '{{ slug }}' -- required
AND format = '{{ format }}'
;