- Home
- API MCP Server
- tools
- virtual
- other
- Swagger Spec
Swagger Spec
GET the corresponding Swagger spec for the given HTTP load balancer.
| Tool | Description |
|---|---|
f5xc-api-virtual-swagger-spec-get | GET Swagger Spec for HTTP Load Balancer. |
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”| Parameter | Description | Example |
|---|---|---|
name | Name | - |
namespace | Namespace | - |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with Swagger Spec resources:
Get Swagger Spec Details
Section titled “Get Swagger Spec Details”“Get details of the swagger-spec named ‘example’ in namespace ‘production‘“
CURL Examples
Section titled “CURL Examples”# List resourcescurl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/swagger_specs" \ -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}/swagger_specs/<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}/swagger_specs" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}" \ -H "Content-Type: application/json" \ -d @swagger_spec.json
# Delete resourcecurl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/swagger_specs/<name>" \ -H "Authorization: APIToken ${F5XC_API_TOKEN}"