Stat¶
Low Risk
Operations on this resource are generally safe.
GET API endpoints stats for the given Virtual Host.
Tools¶
| Tool | Description |
|---|---|
f5xc-api-virtual-stat-get | GET API Endpoints Stats for Virtual Host. |
Parameters¶
Path Parameters¶
| Parameter | Description | Example |
|---|---|---|
name | Virtual Host Name | - |
namespace | Namespace | - |
Example Usage¶
Ask Claude to help you work with Stat resources:
Get Stat Details¶
"Get details of the stat named 'example' in namespace 'production'"
CURL Examples¶
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/stats" \
-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}/stats/<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}/stats" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @stat.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/stats/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"