Skip to main content

links

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

Overview

Namelinks
TypeResource
Idcloudflare.browser_rendering.links

Fields

The following fields are returned by SELECT queries:

Returns the links.

NameDatatypeDescription
linkstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
getselectaccount_idcacheTTLGet links from a web page.

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.
cacheTTLnumberCache TTL default is 5s. Set to 0 to disable.

SELECT examples

Get links from a web page.

SELECT
link
FROM cloudflare.browser_rendering.links
WHERE account_id = '{{ account_id }}' -- required
AND cacheTTL = '{{ cacheTTL }}'
;