Skip to content

Swagger Spec

GET the corresponding Swagger spec for the given app type.

ToolDescription
f5xc-api-servicemesh-swagger-spec-listGET Swagger Spec for App Type.
ParameterDescriptionExample
app_type_nameApp Type-
namespaceNamespace-

Ask Claude to help you work with Swagger Spec resources:

“List all swagger-specs in the ‘production’ namespace”

Terminal window
# List resources
curl -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 resource
curl -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 resource
curl -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 resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/swagger_specs/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"