screenshots
Creates, updates, deletes, gets or lists a screenshots resource.
Overview
| Name | screenshots |
| Type | Resource |
| Id | cloudflare.url_scanner.screenshots |
Fields
The following fields are returned by SELECT queries:
- list
Returns the scan's requested screenshot.
| Name | Datatype | Description |
|---|---|---|
contents | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
list | select | scan_id, account_id | resolution | Get scan's screenshot by resolution (desktop/mobile/tablet). |
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. |
resolution | string | Target device type. |
SELECT examples
- list
Get scan's screenshot by resolution (desktop/mobile/tablet).
SELECT
contents
FROM cloudflare.url_scanner.screenshots
WHERE scan_id = '{{ scan_id }}' -- required
AND account_id = '{{ account_id }}' -- required
AND resolution = '{{ resolution }}'
;