- Home
- API Enriched
- Virtual
- ml
- GET API Endpoints.
GET API Endpoints.
const url = 'https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/ml/data/namespaces/example/http_loadbalancers/example/api_endpoints';const options = { method: 'POST', headers: {Authorization: '<Authorization>', 'Content-Type': 'application/json'}, body: '{"name":"example","namespace":"example"}'};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request POST \ --url https://example-corp.console.ves.volterra.io/api/v1/api/production/us-east-1/namespaces/default/api/ml/data/namespaces/example/http_loadbalancers/example/api_endpoints \ --header 'Authorization: <Authorization>' \ --header 'Content-Type: application/json' \ --data '{ "name": "example", "namespace": "example" }'GET list of all API Endpoints associated with the HTTP loadbalancer in format suitable for API Groups management. Deprecated: instead use GetAPIEndpoints in VES.I/o.schema.virtual_host.apiepcustomapi.
Authorizations
Section titled “Authorizations”Parameters
Section titled “Parameters”Path Parameters
Section titled “Path Parameters”Namespace Namespace of the HTTP LoadBalancer for the current request.
HTTP LoadBalancer Name HTTP LoadBalancer for the current request.
Request Bodyrequired
Section titled “Request Bodyrequired”Request shape for GET API Endpoints For Groups.
object
HTTP LoadBalancer for the current request.
Namespace of the HTTP LoadBalancer for the current request.
Examplegenerated
{ "name": "example", "namespace": "example"}Responses
Section titled “Responses”A successful response.
Response shape for GET API Endpoints For Groups request.
object
A list of API endpoints associated with the HTTP Loadbalancer.
Apiep for the Evaluate API Group Builder response.
object
The category of the API Endpoint relative to API Inventory.
API Endpoint path.
object
Score of the vulnerabilities found for this API Endpoint.
Sensitive Data of the API endpoint.
Sensitive Data of the API endpoint.
The API endpoints timestamp indicates most recent update of API endpoints happened The API Discovery periodically updates the API endpoints list based on application’s traffic.
Example
{ "api_endpoints": [ { "category": [ "APIEP_CATEGORY_DISCOVERED" ], "method": "ANY", "risk_score": { "severity": "APIEP_SEC_RISK_NONE" }, "sensitive_data": [ "SENSITIVE_DATA_TYPE_CCN" ] } ]}Returned when operation is not authorized.
Examplegenerated
exampleReturned when there is no permission to access resource.
Examplegenerated
exampleReturned when resource is not found.
Examplegenerated
exampleReturned when operation on resource is conflicting with current value.
Examplegenerated
exampleReturned when operation has been rejected as it is happening too frequently.
Examplegenerated
exampleReturned when server encountered an error in processing API.
Examplegenerated
exampleReturned when service is unavailable temporarily.
Examplegenerated
exampleReturned when server timed out processing request.
Examplegenerated
example