Skip to main content

v2_dom

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

Overview

Namev2_dom
TypeResource
Idcloudflare.url_scanner.v2_dom

Fields

The following fields are returned by SELECT queries:

Returns a plain text response, with the scan's DOM content as rendered by Chrome.

NameDatatypeDescription
contentsstring

Methods

The following methods are available for this resource:

NameAccessible byRequired ParamsOptional ParamsDescription
get_dom_v2selectscan_id, account_idReturns a plain text response, with the scan's DOM content as rendered by Chrome.

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.
scan_idstring (uuid)Scan UUID.

SELECT examples

Returns a plain text response, with the scan's DOM content as rendered by Chrome.

SELECT
contents
FROM cloudflare.url_scanner.v2_dom
WHERE scan_id = '{{ scan_id }}' -- required
AND account_id = '{{ account_id }}' -- required
;