- Home
- API Enriched
- Shape
- shape
- GET list of bot detection rule deployments.
GET list of bot detection rule deployments.
const url = 'https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/shape/bot/custom/namespaces/example/bot_detection_rules/deployments';const options = {method: 'GET', headers: {Authorization: '<Authorization>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/shape/bot/custom/namespaces/example/bot_detection_rules/deployments \ --header 'Authorization: <Authorization>'Getbotdetectionrulesdeployments CustomAPI.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Namespace x-required Namespace is used to scope the query.
Query Parameters
Section titled “Query Parameters”The deployments will be filtered by the deployment status values provided. This field is optional. If no deployment status values are provided, all the deployments will be fetched
Initiated represents the status when SAPI returns successful deployment acknowledgement for all the clusters within the batch Deployed represents the status when SAPI’s deployment status API returns success for all the clusters within the batch Failed represents the status when SAPI’s deployment status API returns failure for all the clusters within the batch Partially Deployed represents the status when SAPI’s deployment status API returns success for some clusters while failure for other clusters within the batch Initiation failed represents the status when SAPI returns failed deployment acknowledgement for all the clusters within the batch Partially initiated represents the status when SAPI returns success deployment acknowledgement for some clusters while failed deployment acknowledgement for other clusters within the batch.
Responses
Section titled “Responses”A successful response.
Response for GET bot detection rules deployments.
object
List of bot detection rules deployments.
Bot detection rules deployment.
object
Infrastructure configuration
Bot Infrastructure.
object
Name of the bot-infrastructure.
Comments provided by official for making the changes to rule configuration.
Unique identifier for a deployment batch.
Timestamp at which the deployment was initiated.
EmailID of the official who made the change. In case the changed is made by F5 official, the value will be ‘F5’
Rule or policy definition
List of rules that went in the deployment.
Configuration parameter for traffic types
Example
{ "bot_detection_rules_deployments": [ { "bot_infrastructures": [ { "environment_type": "PRODUCTION" } ], "deployment_status": "BOT_DETECTION_RULES_DEPLOYMENT_STATUS_UNKNOWN", "traffic_types": [ "WEB" ] } ]}Returned when operation is not authorized.
Examplegenerated
exampleReturned when there is no permission to access resource.
Examplegenerated
exampleReturned when resource is not found.
Examplegenerated
exampleReturned when operation on resource is conflicting with current value.
Examplegenerated
exampleReturned when operation has been rejected as it is happening too frequently.
Examplegenerated
exampleReturned when server encountered an error in processing API.
Examplegenerated
exampleReturned when service is unavailable temporarily.
Examplegenerated
exampleReturned when server timed out processing request.
Examplegenerated
example