Skip to content

Calls By Response Code

GET total API calls for the given Virtual Host.

ToolDescription
f5xc-api-virtual-calls-by-response-code-createGET Total API Calls for Virtual Host.
ParameterDescriptionExample
nameVirtual Host Name-
namespaceNamespace-

Ask Claude to help you work with Calls By Response Code resources:

“Create a calls-by-response-code named ‘example’ in the ‘production’ namespace”

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/calls_by_response_codes" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Get specific resource
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/calls_by_response_codes/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/calls_by_response_codes" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @calls_by_response_code.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/calls_by_response_codes/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"