Skip to content

API Definition

List the set of api_definition in a namespace.

ToolDescription
f5xc-api-api-api-definition-createCreate API Definition.
f5xc-api-api-api-definition-getGET API Definition.
f5xc-api-api-api-definition-listList API Definition.
f5xc-api-api-api-definition-updateReplace API Definition.
f5xc-api-api-api-definition-deleteDELETE API Definition.
ParameterDescriptionExample
metadata.namespaceNamespace-
nameName-
namespaceNamespace-
metadata.nameName-
ParameterDescriptionExample
response_formatThe format in which the configuration object is to be fetched. This could be for example-
label_filterA LabelSelectorType expression that every item in list response will satisfy.-
report_fieldsThe report_fields parameter-
report_status_fieldsThe report_status_fields parameter-

This resource includes mutually exclusive configuration options:

OptionDescriptionRecommended
spec.mixed_schema_origin-
spec.strict_schema_origin-

Ask Claude to help you work with API Definition resources:

“Create a api-definition named ‘example’ in the ‘production’ namespace”

“List all api-definitions in the ‘production’ namespace”

“Get details of the api-definition named ‘example’ in namespace ‘production‘“

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