flat
Creates, updates, deletes, gets or lists a flat resource.
Overview
| Name | flat |
| Type | Resource |
| Id | cloudflare.images.flat |
Fields
The following fields are returned by SELECT queries:
- list
Variant details flat response
| Name | Datatype | Description |
|---|---|---|
id | string | (example: hero) |
neverRequireSignedURLs | boolean | Indicates whether the variant can access an image without a signature, regardless of image access control. |
options | object | Allows you to define image resizing sizes for different use cases. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | variant_id, account_id | Fetch details for a single variant with properties at the top level of the result. |
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 |
|---|---|---|
account_id | string | The Cloudflare account ID. |
variant_id | string |
SELECT examples
- list
Fetch details for a single variant with properties at the top level of the result.
SELECT
id,
neverRequireSignedURLs,
options
FROM cloudflare.images.flat
WHERE variant_id = '{{ variant_id }}' -- required
AND account_id = '{{ account_id }}' -- required
;