v2_responses
Creates, updates, deletes, gets or lists a v2_responses resource.
Overview
| Name | v2_responses |
| Type | Resource |
| Id | cloudflare.url_scanner.v2_responses |
Fields
The following fields are returned by SELECT queries:
- get_responses_v2
Get the raw response by its hash.
| Name | Datatype | Description |
|---|---|---|
contents | string |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get_responses_v2 | select | response_id, account_id | Returns the raw response of the network request. Find the response_id in the data.requests.response.hash. |
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. |
response_id | string | Response hash. |
SELECT examples
- get_responses_v2
Returns the raw response of the network request. Find the response_id in the data.requests.response.hash.
SELECT
contents
FROM cloudflare.url_scanner.v2_responses
WHERE response_id = '{{ response_id }}' -- required
AND account_id = '{{ account_id }}' -- required
;