API Endpoint
API Endpoint provides tools for creating, and retrieving resources in F5 Distributed Cloud.
| Tool | Description |
|---|---|
f5xc-api-virtual-api-endpoint-create | Get API Endpoints. |
f5xc-api-virtual-api-endpoint-get | Get API Endpoints. |
Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”| Parameter | Description | Example |
|---|---|---|
name | HTTP LoadBalancer Name HTTP LoadBalancer for the current request. | example-resource |
namespace | Namespace Namespace of the HTTP LoadBalancer for the current request. | system |
Query Parameters
Section titled “Query Parameters”| Parameter | Description | Example |
|---|---|---|
api_endpoint_info_request | List of additional things that needs to be sent as part of the request… | - |
apiep_category | Category of API endpoints. Can be DISCOVERED, INVENTORY or SHADOW API. Optional filter by api_category. If absent, endpoints of all categories are considered. | - |
domains | List of domains that needs to be sent as part of the request Optional filter by domains. If absent, all domains are considered. | - |
end_time | Format: 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_time | Format: unix_timestamp|RFC 3339 Filters the APIEPs with access time >= start_time. Considered only to calculate activity metrics, based on #sec-events and #requests. | - |
Example Usage
Section titled “Example Usage”Ask Claude to help you work with API Endpoint resources:
Create API Endpoint
Section titled “Create API Endpoint”“Create a api-endpoint named ‘example’ in the ‘production’ namespace”
Get API Endpoint Details
Section titled “Get API Endpoint Details”“Get details of the api-endpoint named ‘example’ in namespace ‘production‘“
CURL Examples
Section titled “CURL Examples”# Get specific resourcecurl -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 resourcecurl -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