json_list
Creates, updates, deletes, gets or lists a json_list resource.
Overview
| Name | json_list |
| Type | Resource |
| Id | cloudflare.browser_rendering.json_list |
Fields
The following fields are returned by SELECT queries:
- get
The target with the given ID.
| Name | Datatype | Description |
|---|---|---|
id | string | Target ID. |
description | string | Target description. |
devtoolsFrontendUrl | string | DevTools frontend URL. |
title | string | Title of the target. |
type | string | Target type (page, background_page, worker, etc.). |
url | string | URL of the target. |
webSocketDebuggerUrl | string | WebSocket URL for debugging this target. |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | account_id, session_id, target_id | Returns the debuggable target with the given ID. |
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. |
session_id | string | The session ID. |
target_id | string | Target ID. |
SELECT examples
- get
Returns the debuggable target with the given ID.
SELECT
id,
description,
devtoolsFrontendUrl,
title,
type,
url,
webSocketDebuggerUrl
FROM cloudflare.browser_rendering.json_list
WHERE account_id = '{{ account_id }}' -- required
AND session_id = '{{ session_id }}' -- required
AND target_id = '{{ target_id }}' -- required
;