Aggregate App stats (v3.0)
POST/sdwan/v3.0/api/monitor/aggregates
Aggregate app_stats and app_prefix stats based on different metrics
Request
- application/json
Body
Filters and Metrics for Aggregating App stats
- Array [
- ]
aggregates AppStatsAggregate[]required
The aggregate number of supported app stats. Max number = 10.
Possible values: [WanCapacity
, PolicyDataTrafficVolume
, PolicyDataAppThroughput
, WanEngineering
, PrefixList
]
The name of the aggregate value.
Unit
The end time to get the app stats.
filter AppStatsAggregateFilter
Filters according to the specifications.
Filter by apps.
Filter by element.
Filter by path.
Possible values: [public_direct
, public_vpn
, private_direct
, private_vpn
, unknown
, servicelink
]
Filter by path type.
Filter by site.
The description of the app. Maz size = 128.
The start time to get the app statistics.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- ]
aggregates AppStatsAggregateData[]
The aggregate number of supported app stats. Max number = 10.
The aggregate app statistics.
The end time to get the app stats.
Possible values: [WanCapacity
, PolicyDataTrafficVolume
, PolicyDataAppThroughput
, WanEngineering
, PrefixList
]
The name of the aggregate value.
The start time to get the app statistics.
Unit
The end time to get the app stats.
The start time to get the app statistics.
{
"aggregates": [
{
"data": {},
"end_time": "string",
"name": "WanCapacity",
"start_time": "string",
"unit": "string"
}
],
"end_time": "string",
"start_time": "string"
}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
The error code.
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "REQUIRED_PROPERTY"
},
{
"code": "LENGTH_EXCEEDED"
},
{
"code": "INVALID_FILTER"
},
{
"code": "START_TIME_GREATER_THAN_END_TIME"
},
{
"code": "FUTURE_TIME_ERROR"
},
{
"code": "PATH_AND_PATH_TYPE_NOT_SUPPORTED"
},
{
"code": "AGGREGATE_FILTER_MANDATORY"
},
{
"code": "AGGREGATE_UNIT_REQUIRED"
},
{
"code": "AGGREGATE_UNIT_NOT_SUPPORTED"
},
{
"code": "AGGREGATE_FILTER_PARAMETER_NOT_ALLOWED"
},
{
"code": "AGGREGATE_FILTER_PARAMETER_REQUIRED"
}
]
}
}