Skip to content

API Endpoint

API Endpoint provides tools for creating, and retrieving resources in F5 Distributed Cloud.

ToolDescription
f5xc-api-virtual-api-endpoint-createGet API Endpoints.
f5xc-api-virtual-api-endpoint-getGet API Endpoints.
ParameterDescriptionExample
nameHTTP LoadBalancer Name HTTP LoadBalancer for the current request.example-resource
namespaceNamespace Namespace of the HTTP LoadBalancer for the current request.system
ParameterDescriptionExample
api_endpoint_info_requestList of additional things that needs to be sent as part of the request…-
apiep_categoryCategory of API endpoints. Can be DISCOVERED, INVENTORY or SHADOW API. Optional filter by api_category. If absent, endpoints of all categories are considered.-
domainsList of domains that needs to be sent as part of the request Optional filter by domains. If absent, all domains are considered.-
end_timeFormat: unix_timestamp|RFC 3339 Filters the APIEPs with access time < end_time. Considered only to calculate activity metrics, based on #sec-events and #requests.-
start_timeFormat: unix_timestamp|RFC 3339 Filters the APIEPs with access time >= start_time. Considered only to calculate activity metrics, based on #sec-events and #requests.-

Ask Claude to help you work with API Endpoint resources:

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

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

Terminal window
# Get specific resource
curl -X GET "https://${TENANT}.console.ves.volterra.io/api/ml/data/namespaces/$${PARAM}/virtual_hosts/$${PARAM}/api_endpoints" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}"
# Create resource
curl -X POST "https://${TENANT}.console.ves.volterra.io/api/ml/data/namespaces/$${PARAM}/http_loadbalancers/$${PARAM}/api_endpoints" \
-H "Authorization: APIToken ${F5XC_API_TOKEN}" \
-H "Content-Type: application/json" \
-d @api_endpoint.json