Skip to main content

blobs

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

Overview

Nameblobs
TypeResource
Idcloudflare.images.blobs

Fields

The following fields are returned by SELECT queries:

Base image response. Returns uploaded image data.

NameDatatypeDescription
contentsstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
listselectimage_id, account_idFetch base image. For most images this will be the originally uploaded file. For larger images it can be a near-lossless version of the original.

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
account_idstringThe Cloudflare account ID.
image_idstring

SELECT examples

Fetch base image. For most images this will be the originally uploaded file. For larger images it can be a near-lossless version of the original.

SELECT
contents
FROM cloudflare.images.blobs
WHERE image_id = '{{ image_id }}' -- required
AND account_id = '{{ account_id }}' -- required
;