bots
Creates, updates, deletes, gets or lists a bots resource.
Overview
| Name | bots |
| Type | Resource |
| Id | cloudflare.radar.bots |
Fields
The following fields are returned by SELECT queries:
- get
Successful response.
| Name | Datatype | Description |
|---|---|---|
bot | object |
Methods
The following methods are available for this resource:
| Name | Accessible by | Required Params | Optional Params | Description |
|---|---|---|---|---|
get | select | bot_slug | format | Retrieves the requested bot information. |
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 |
|---|---|---|
bot_slug | string | Bot slug. |
format | string | Format in which results will be returned. |
SELECT examples
- get
Retrieves the requested bot information.
SELECT
bot
FROM cloudflare.radar.bots
WHERE bot_slug = '{{ bot_slug }}' -- required
AND format = '{{ format }}'
;