Skip to content

Sources Openapi Schema

GET openapi schema per API endpoint for a given source types and Virtual Host.

ToolDescription
f5xc-api-virtual-sources-openapi-schema-getGET relevant source OpenApi schema per API endpoint.
ParameterDescriptionExample
nameVirtual Host-
namespaceNamespace-
ParameterDescriptionExample
discovery_source_typesList of wanted discovery source types-
idEndpoint ID.-

Ask Claude to help you work with Sources Openapi Schema resources:

“Get details of the sources-openapi-schema named ‘example’ in namespace ‘production‘“

Terminal window
# List resources
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/sources_openapi_schemas" \
-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}/sources_openapi_schemas/<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}/sources_openapi_schemas" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @sources_openapi_schema.json
# Delete resource
curl -X DELETE "https://${TENANT}.console.ves.volterra.io/api/config/namespaces/${NAMESPACE}/sources_openapi_schemas/<name>" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"