Skip to content

Swagger Spec

Low Risk

Operations on this resource are generally safe.

GET the corresponding Swagger spec for the given app type.

Tools

Tool Description
f5xc-api-servicemesh-swagger-spec-list GET Swagger Spec for App Type.

Parameters

Path Parameters

Parameter Description Example
app_type_name App Type -
namespace Namespace -

Example Usage

Ask Claude to help you work with Swagger Spec resources:

List Swagger Specs

"List all swagger-specs in the 'production' namespace"

CURL Examples

# 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}"