Metrics Get Edge Segment Metrics
Gets flow metric summaries for the specified time interval by segment id. On success, this method returns an array of flow data where each entry corresponds to a segment id traffic that has traversed the specified Edge. In the request body, the id and edgeId property names are interchangeable. The enterpriseId property is required when this method is invoked in the operator context.
Privileges required:
READ EDGE
VIEW_FLOW_STATS undefined
Show optional properties
{
"interval": {
"start": "string"
}
}
{
"id": 0,
"edgeId": 0,
"enterpriseId": 0,
"interval": {
"end": "string",
"start": "string"
},
"metrics": "basic_metrics Object",
"sort": "basic_metric Object",
"limit": 0,
"segments": [
0
]
}
id
edgeId
enterpriseId
A list of metrics to report. When omitted, this method returns all available metrics.
sort
limit
segments
Request was successfully processed
[
"metrics_get_edge_segment_metrics_result_item Object"
]
curl -X POST -H 'Authorization: <value>' -H 'Content-Type: application/json' -d '{"interval:"object"}' https://{api_host}/portal/rest/metrics/getEdgeSegmentMetrics