- Home
- API MCP Server
- tools
- virtual
- other
- Calls By Response Code
Calls By Response Code
GET total API calls for the given Virtual Host.
| Tool | Description |
|---|---|
f5xc-api-virtual-calls-by-response-code-create | GET Total API Calls for Virtual Host. |
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”| Parameter | Description | Example |
|---|---|---|
name | Virtual Host Name | - |
namespace | Namespace | - |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with Calls By Response Code resources:
Create Calls By Response Code
Section titled “Create Calls By Response Code”“Create a calls-by-response-code named ‘example’ in the ‘production’ namespace”
CURL Examples
Section titled “CURL Examples”# List resourcescurl -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 resourcecurl -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 resourcecurl -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 resourcecurl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/calls_by_response_codes/<name>" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"