Query Interface Correlation Events (v2.0)
POST/v2.0/api/tenants/:tenant_id/interfaces/correlationevents/query
Query interface correlation events.
Request
Path Parameters
ID of the tenant.
- application/json
Body
- Array [
- ]
aggregate Aggregate
The aggregate number of interfaces that match the query parameters.
data AggregateData[]
The details of the aggregate data.
Value of the aggregate data.
View the aggregate date.
Field
The name of the query response.
Possible values: [max
, count
, min
, avg
, sum
]
Operator
QoS application aggregate statistics.
The unit.
The destination page.
The number interfaces deleted for a time frame.
Group By
List the interfaces by ID.
Return the ID of a specified query in the current session.
The query limit.
The limit.
Retrieve information from a field.
List the fields to query.
The total number of query parameters.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- Array [
- Array [
- ]
- ]
The actual count.
The deleted number.
The deleted IDs.
Description of the query. Max size = 256.
The ID.
Details of the next query.
The tenant ID.
Total number.
items InterfaceQueryFilter[]
The interface admin state.
The bound interfaces.
The element ID.
events BaseEventState[]
The details of the events occurred.
The event code.
The event ID.
Id
The priority set for the event.
The standing event. True or False.
The events are suppressed. True or False.
suppressed_info SuppressedInfo
The information on the suppressed events.
The event IDs of the root causes.
The suppressed event time.
The time stamp of the event.
The interface ID.
The IPv4 addresses configured for the interface.
The name of the interface.
The parent interface.
The site WAN interface IDs.
Possible values: [SERVICE_LINK
, LOOPBACK
, BYPASSPAIR
, SUBINTERFACE
, PPPOE
, PORTCHANNEL
, PORT
, VIRTUAL_INTERFACE
, CELLULAR
]
The interface type.
Possible values: [NONE
, PUBLIC
, PRIVATE
, LAN
, PRIVATE_L2
, PRIVATE_WAN
]
The value of where the interface is used.
{
"count": 0,
"deleted_count": 0,
"deleted_ids": [
"string"
],
"id": "string",
"next_query": {},
"tenant_id": "string",
"total_count": 0,
"items": [
{
"admin_up": true,
"bound_interfaces": [
"string"
],
"element_id": "string",
"events": [
{
"event_code": "string",
"event_id": "string",
"id": "string",
"priority": 0,
"standing": true,
"suppressed": true,
"suppressed_info": {
"root_cause_event_ids": [
"string"
],
"suppressed_time": "2024-07-29"
},
"timestamp": 0
}
],
"id": "string",
"ipv4_addresses": [
"string"
],
"name": "string",
"parent": "string",
"site_wan_interface_ids": [
"string"
],
"type": "SERVICE_LINK",
"used_for": "NONE"
}
]
}
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": "BAD_REQUEST"
}
]
}
}