Alerts
Get alerts classification
This API endpoint retrieves the classification of alerts based on the specified type. The classification provides aggregated counts of alerts grouped by the specified criteria.
get/network-notifications/v1/alerts/classification
Request
- Base URLhttps://sso.common.cloud.hpe.com
- AuthOAuth 2Client credentialsToken URLhttps://sso.common.cloud.hpe.com/as/token.oauth2
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
typestring required
Example:category
The type of classification to retrieve. This determines how alerts are grouped. Possible values are severity, status, priority, category, device_type, impacted_devices
filterstring
Example:siteId eq '1234567'
OData Version 4.0 filter string to filter the alerts before classification.
searchstring
Example:PoE
Search string to filter alerts by name or summary before classification.
Response
Classification of alerts grouped by the specified type.
Example response
{
"type": "category",
"classificationData": [
{
"name": "System",
"count": 25,
"typeId": "102"
}
]
}Changes
No recorded changes to this operation across all 1 revision of this API.