v2_dom
Creates, updates, deletes, gets or lists a v2_dom resource.
Overview
| Name | v2_dom |
| Type | Resource |
| Id | cloudflare.url_scanner.v2_dom |
Fields
The following fields are returned by SELECT queries:
- get_dom_v2
Returns a plain text response, with the scan's DOM content as rendered by Chrome.
| Name | Datatype | Description |
|---|---|---|
contents | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_dom_v2 | select | scan_id, account_id | Returns 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.
| Name | Datatype | Description |
|---|---|---|
account_id | string | The Cloudflare account ID. |
scan_id | string (uuid) | Scan UUID. |
SELECT examples
- get_dom_v2
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
;