Get Event Summary (v2.0)
POST/v2.1/api/tenants/:tenant_id/events/summary
Get all the event summaries.
Request
Path Parameters
tenant_id stringrequired
The tenant ID.
- application/json
Body
clients string[]
element_cluster_role string
Possible values: [HUB
, SPOKE
, NONE
]
end_time string
group_by string[]
Possible values: [priority
, code
, tenant
]
query object
code string[]
type string[]
Possible values: [alarm
, alert
]
start_time string
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 Invalid query or params
- 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...