Query Event Summary (v2.0)
POST/sdwan/v2.0/api/events/summary
Provides summary of events for a given tenant.
Request
- application/json
Body
element_cluster_role string
Possible values: [HUB
, SPOKE
, NONE
]
The element cluster role.
end_time string
The event end time.
group_by string[]
Possible values: [priority
, code
, tenant
]
The event grouping.
query object
The query details of event code and type.
code string[]
type string[]
Possible values: [alarm
, alert
]
start_time string
The event start time.
Responses
- 200
- 400
Successful Operation
- application/json
- Schema
- Example (from schema)
Schema
- EventsSummaryData
- EventsSummaryTenantData
- Array [
- ]
- Array [
- ]
oneOf
_status_code integer
The status code of the event.
count integer
The event count.
data object[]
The details of the event code, priority, and tenant IDs.
code string
priority string
tenant_ids string
type string
Possible values: [alarm
, alert
]
The event type.
_status_code integer
The status code of the event.
count integer
The event count.
data object[]
The details of the event code, priority, and tenant IDs.
alarms object
p1 integer
p2 integer
p3 integer
p4 integer
p5 integer
alerts object
p1 integer
p2 integer
p3 integer
p4 integer
p5 integer
tenant_id string
type string
Possible values: [alarm
, alert
]
The event type.
{}
Bad Request
- application/json
- Schema
- Example (from schema)
- Example
Schema
- Array [
- ]
_error ErrorResponse[]
code string
The error code.
message string
The error message.
{
"_error": [
{
"code": "string",
"message": "string"
}
]
}
{
"value": {
"_error": [
{
"code": "INVALID_REQUEST_ERROR_0001"
}
]
}
}
Loading...